[Numpy-discussion] Test fails for rev. 2473
Johannes Loehnert
a.u.r.e.l.i.a.n at gmx.net
Wed May 3 01:16:01 EDT 2006
Hi,
with the current svn version, numpy.test(10,10) gives the following:
[...everything ok...]
check_scalar (numpy.lib.tests.test_function_base.test_vectorize) ... ok
check_simple (numpy.lib.tests.test_function_base.test_vectorize) ... ok
======================================================================
ERROR: check_doctests (numpy.lib.tests.test_ufunclike.test_docs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jloehnert/python/mylibs/numpy/lib/tests/test_ufunclike.py", line
59, in check_doctests
def check_doctests(self): return self.rundocs()
File
"/scratch/jloehnert/python-svn/lib/python2.3/site-packages/numpy/testing/numpytest.py",
line 185, in rundocs
tests = doctest.DocTestFinder().find(m)
AttributeError: 'module' object has no attribute 'DocTestFinder'
======================================================================
ERROR: check_doctests (numpy.lib.tests.test_polynomial.test_docs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jloehnert/python/mylibs/numpy/lib/tests/test_polynomial.py",
line 79, in check_doctests
def check_doctests(self): return self.rundocs()
File
"/scratch/jloehnert/python-svn/lib/python2.3/site-packages/numpy/testing/numpytest.py",
line 185, in rundocs
tests = doctest.DocTestFinder().find(m)
AttributeError: 'module' object has no attribute 'DocTestFinder'
----------------------------------------------------------------------
Ran 364 tests in 1.747s
FAILED (errors=2)
Out[5]: <unittest.TextTestRunner object at 0x41aa44ec>
In [6]: numpy.__version__
Out[6]: '0.9.7.2473'
Johannes
More information about the NumPy-Discussion
mailing list