diff options
author | Stefan van der Walt <stefan@sun.ac.za> | 2006-07-07 15:45:41 +0000 |
---|---|---|
committer | Stefan van der Walt <stefan@sun.ac.za> | 2006-07-07 15:45:41 +0000 |
commit | 797911288ad649bded549b13492c4fb5d240ee79 (patch) | |
tree | a9ac7a4c65d1069be8181418c476341b03f7d961 /numpy/testing/numpytest.py | |
parent | 80f1d7825004f8be40fa265eaaf165471467112d (diff) | |
download | numpy-797911288ad649bded549b13492c4fb5d240ee79.tar.gz |
Scan for abs(level) tests.
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) |