[Numpy-discussion] np.test() fails on ubuntu karmic

Stéfan van der Walt stefan at sun.ac.za
Sat Jun 20 12:12:23 EDT 2009


2009/6/20 Stéfan van der Walt <stefan at sun.ac.za>:
> I just updated my machine, and everything broke in the way you
> described.  This must be a regression in one of the python26-*
> packages?

The problem can be reproduced from the command prompt:

$ nosetests
Traceback (most recent call last):
  File "/usr/bin/nosetests", line 8, in <module>
    load_entry_point('nose==0.10.4', 'console_scripts', 'nosetests')()
  File "/usr/lib/pymodules/python2.6/nose/core.py", line 219, in __init__
    argv=argv, testRunner=testRunner, testLoader=testLoader)
  File "/usr/lib/python2.6/unittest.py", line 819, in __init__
    self.runTests()
  File "/usr/lib/pymodules/python2.6/nose/core.py", line 298, in runTests
    result = self.testRunner.run(self.test)
TypeError: unbound method run() must be called with TextTestRunner
instance as first argument (got ContextSuite instance instead)

So we can safely say it is not a NumPy issue.

Regards
Stéfan



More information about the NumPy-Discussion mailing list