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

Darren Dale dsdale24 at gmail.com
Sat Jun 20 12:42:16 EDT 2009


2009/6/20 Stéfan van der Walt <stefan at sun.ac.za>

> 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.
>

I can confirm, nosetests fails with a fresh install of Karmic alpha 2, but
it does not have anything to do with numpy. Thanks for pointing that test
out, I'll file a bug report at launchpad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090620/f12b4187/attachment.html>


More information about the NumPy-Discussion mailing list