From 85eeb4732ea7e49c01db4f7981ee07c8fc1c90c3 Mon Sep 17 00:00:00 2001 From: Tim Leslie Date: Mon, 5 Mar 2007 06:03:54 +0000 Subject: fix bug with test_suite being called incorrectly --- numpy/testing/numpytest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/testing/numpytest.py') 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) \ -- cgit v1.2.1