[Bug 337585] Re: doesn't work with python2.6, TypeError: unhashable type: 'ContextSuite'

Elliot Murphy elliot at canonical.com
Wed Mar 4 05:00:58 UTC 2009


Here is what I get when running nosetests in jaunty with python2.6 as
the system python:

Traceback (most recent call last):
  File "/usr/bin/nosetests", line 8, in <module>
    load_entry_point('nose==0.10.3', 'console_scripts', 'nosetests')()
  File "/var/lib/python-support/python2.6/nose/core.py", line 219, in __init__
    argv=argv, testRunner=testRunner, testLoader=testLoader)
  File "/usr/lib/python2.6/unittest.py", line 817, in __init__
    self.runTests()
  File "/var/lib/python-support/python2.6/nose/core.py", line 298, in runTests
    result = self.testRunner.run(self.test)
  File "/var/lib/python-support/python2.6/nose/core.py", line 62, in run
    test(result)
  File "/var/lib/python-support/python2.6/nose/suite.py", line 132, in __call__
    return self.run(*arg, **kw)
  File "/var/lib/python-support/python2.6/nose/suite.py", line 162, in run
    test(orig)
  File "/usr/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python2.6/unittest.py", line 457, in run
    for test in self._tests:
  File "/var/lib/python-support/python2.6/nose/suite.py", line 76, in _get_tests
    for test in self.test_generator:
  File "/var/lib/python-support/python2.6/nose/loader.py", line 165, in loadTestsFromDir
    entry_path, discovered=True)
  File "/var/lib/python-support/python2.6/nose/loader.py", line 372, in loadTestsFromName
    return suite([Failure(*exc)])
  File "/var/lib/python-support/python2.6/nose/suite.py", line 332, in __call__
    return self.makeSuite(tests, context)
  File "/var/lib/python-support/python2.6/nose/suite.py", line 377, in makeSuite
    self.context.setdefault(suite, []).append(context)
TypeError: unhashable type: 'ContextSuite'

-- 
doesn't work with python2.6, TypeError: unhashable type: 'ContextSuite'
https://bugs.launchpad.net/bugs/337585
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list