diff options
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r-- | numpy/testing/numpytest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py index df552a208..a81a2519d 100644 --- a/numpy/testing/numpytest.py +++ b/numpy/testing/numpytest.py @@ -569,7 +569,7 @@ class NumpyTest: or not issubclass(obj, unittest.TestCase) \ or not self.check_testcase_name(obj.__name__): continue - for mthname in self._get_method_names(obj,level): + for mthname in self._get_method_names(obj,abs(level)): suite = obj(mthname) if getattr(suite,'isrunnable',lambda mthname:1)(mthname): suite_list.append(suite) |