summaryrefslogtreecommitdiff
path: root/numpy/testing/numpytest.py
diff options
context:
space:
mode:
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 755de9d1f..6a8b39e6e 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._tests)
+ suite_list.extend(test_module.test_suite(level)._tests)
for name in dir(test_module):
obj = getattr(test_module, name)
if type(obj) is not type(unittest.TestCase) \