[Numpy-tickets] [NumPy] #899: NumPy test suite fails to run with Python 2.6b3 and nose 0.10.3

NumPy numpy-tickets@scipy....
Sat Aug 30 01:53:45 CDT 2008


#899: NumPy test suite fails to run with Python 2.6b3 and nose 0.10.3
-----------------------------+----------------------------------------------
 Reporter:  albertstrasheim  |       Owner:  somebody
     Type:  defect           |      Status:  new     
 Priority:  highest          |   Milestone:  1.2.0   
Component:  numpy.testing    |     Version:  none    
 Severity:  blocker          |    Keywords:          
-----------------------------+----------------------------------------------
 The NumPy test suite fails to run with Python 2.6b3 and nose 0.10.3:

 {{{
 $ python2.6 -c 'import numpy; numpy.test()'
 Running unit tests for numpy
 NumPy version 1.2.0.dev5726
 NumPy is installed in /opt/python26/lib/python2.6/site-packages/numpy
 Python version 2.6b3 (r26b3:65922, Aug 29 2008, 23:35:24) [GCC 4.3.0
 20080428 (Red Hat 4.3.0-8)]
 nose version 0.10.3
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/opt/python26/lib/python2.6/site-
 packages/numpy/testing/nosetester.py", line 278, in test
     t = NumpyTestProgram(argv=argv, exit=False, plugins=plugins)
   File "/opt/python26/lib/python2.6/site-packages/nose/core.py", line 219,
 in __init__
     argv=argv, testRunner=testRunner, testLoader=testLoader)
   File "/opt/python26/lib/python2.6/unittest.py", line 816, in __init__
     self.parseArgs(argv)
   File "/opt/python26/lib/python2.6/site-packages/nose/core.py", line 270,
 in parseArgs
     self.createTests()
   File "/opt/python26/lib/python2.6/site-packages/nose/core.py", line 284,
 in createTests
     self.test = self.testLoader.loadTestsFromNames(self.testNames)
   File "/opt/python26/lib/python2.6/site-packages/nose/loader.py", line
 422, in loadTestsFromNames
     return unittest.TestLoader.loadTestsFromNames(self, names, module)
   File "/opt/python26/lib/python2.6/unittest.py", line 613, in
 loadTestsFromNames
     suites = [self.loadTestsFromName(name, module) for name in names]
   File "/opt/python26/lib/python2.6/site-packages/nose/loader.py", line
 377, in loadTestsFromName
     module, discovered=discovered)
   File "/opt/python26/lib/python2.6/site-packages/nose/loader.py", line
 301, in loadTestsFromModule
     tests.extend(self.loadTestsFromDir(path))
   File "/opt/python26/lib/python2.6/site-packages/nose/loader.py", line
 165, in loadTestsFromDir
     entry_path, discovered=True)
   File "/opt/python26/lib/python2.6/site-packages/nose/loader.py", line
 377, in loadTestsFromName
     module, discovered=discovered)
   File "/opt/python26/lib/python2.6/site-packages/nose/loader.py", line
 306, in loadTestsFromModule
     return self.suiteClass(ContextList(tests, context=module))
   File "/opt/python26/lib/python2.6/site-packages/nose/suite.py", line
 332, in __call__
     return self.makeSuite(tests, context)
   File "/opt/python26/lib/python2.6/site-packages/nose/suite.py", line
 377, in makeSuite
     self.context.setdefault(suite, []).append(context)
 TypeError: unhashable type: 'ContextSuite'
 }}}

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/899>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list