summaryrefslogtreecommitdiff
path: root/numpy/testing/numpytest.py
diff options
context:
space:
mode:
authorTim Leslie <tim.leslie@gmail.com>2007-03-05 06:03:54 +0000
committerTim Leslie <tim.leslie@gmail.com>2007-03-05 06:03:54 +0000
commit85eeb4732ea7e49c01db4f7981ee07c8fc1c90c3 (patch)
treec081482e0da42e3b23c481308a770693813325c5 /numpy/testing/numpytest.py
parentd8ccf22397b951c77f260c9806fe6a1b7bc9c6cb (diff)
downloadnumpy-85eeb4732ea7e49c01db4f7981ee07c8fc1c90c3.tar.gz
fix bug with test_suite being called incorrectly
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r--numpy/testing/numpytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py
index 6a8b39e6e..755de9d1f 100644
--- a/numpy/testing/numpytest.py
+++ b/numpy/testing/numpytest.py
@@ -398,7 +398,7 @@ class NumpyTest:
mstr = self._module_str
suite_list = []
if hasattr(test_module,'test_suite'):
- suite_list.extend(test_module.test_suite(level)._tests)
+ suite_list.extend(test_module.test_suite._tests)
for name in dir(test_module):
obj = getattr(test_module, name)
if type(obj) is not type(unittest.TestCase) \