[NumPy-Tickets] [NumPy] #1089: numpy.test does not find all tests
NumPy Trac
numpy-tickets@scipy....
Thu Mar 3 02:36:31 CST 2011
#1089: numpy.test does not find all tests
---------------------------+------------------------------------------------
Reporter: cdavid | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.5.1
Component: numpy.testing | Version:
Keywords: |
---------------------------+------------------------------------------------
Comment(by rgommers):
Most of the tests that are not run are from a few files only. From
f2py/tests/test_array_from_pyobj.py (~350 tests), this is unusual:
{{{
for t in Type._type_names:
exec '''\
class test_%s_gen(unittest.TestCase,
_test_shared_memory
):
def setUp(self):
self.type = Type(%r)
array = lambda self,dims,intent,obj: Array(Type(%r),dims,intent,obj)
''' % (t,t,t)
}}}
lib/tests/test_format.py (~170 tests) has many tests defined in the file
docstring (raw), which is odd.
The tests in core/tests/test_umath_complex.py (~45 tests) are skipped
because of non-conforming C99 implementation on Windows. So nothing wrong
there.
I attach a log of all tests that are not run.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1089#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list