doesn't work with python2.6, TypeError: unhashable type: 'ContextSuite'
Bug #337585 reported by
Elliot Murphy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nose (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
This is fixed upstream, in the 10.4 release.
http://
nosetests is pretty well unusable in jaunty due to this problem. I'm not sure whether it's preferable to apply for a freeze exception, or to try and extract just the patch for this.
Changed in nose (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
Here is what I get when running nosetests in jaunty with python2.6 as the system python:
Traceback (most recent call last): nosetests" , line 8, in <module> entry_point( 'nose== 0.10.3' , 'console_scripts', 'nosetests')() python- support/ python2. 6/nose/ core.py" , line 219, in __init__ testRunner, testLoader= testLoader) python2. 6/unittest. py", line 817, in __init__ python- support/ python2. 6/nose/ core.py" , line 298, in runTests .run(self. test) python- support/ python2. 6/nose/ core.py" , line 62, in run python- support/ python2. 6/nose/ suite.py" , line 132, in __call__ python- support/ python2. 6/nose/ suite.py" , line 162, in run python2. 6/unittest. py", line 464, in __call__ python2. 6/unittest. py", line 457, in run python- support/ python2. 6/nose/ suite.py" , line 76, in _get_tests generator: python- support/ python2. 6/nose/ loader. py", line 165, in loadTestsFromDir python- support/ python2. 6/nose/ loader. py", line 372, in loadTestsFromName Failure( *exc)]) python- support/ python2. 6/nose/ suite.py" , line 332, in __call__ tests, context) python- support/ python2. 6/nose/ suite.py" , line 377, in makeSuite context. setdefault( suite, []).append(context)
File "/usr/bin/
load_
File "/var/lib/
argv=argv, testRunner=
File "/usr/lib/
self.runTests()
File "/var/lib/
result = self.testRunner
File "/var/lib/
test(result)
File "/var/lib/
return self.run(*arg, **kw)
File "/var/lib/
test(orig)
File "/usr/lib/
return self.run(*args, **kwds)
File "/usr/lib/
for test in self._tests:
File "/var/lib/
for test in self.test_
File "/var/lib/
entry_path, discovered=True)
File "/var/lib/
return suite([
File "/var/lib/
return self.makeSuite(
File "/var/lib/
self.
TypeError: unhashable type: 'ContextSuite'