[Numpy-svn] r3570 - trunk/numpy/testing

numpy-svn@scip... numpy-svn@scip...
Mon Mar 5 00:04:06 CST 2007


Author: timl
Date: 2007-03-05 00:03:54 -0600 (Mon, 05 Mar 2007)
New Revision: 3570

Modified:
   trunk/numpy/testing/numpytest.py
Log:
fix bug with test_suite being called incorrectly

Modified: trunk/numpy/testing/numpytest.py
===================================================================
--- trunk/numpy/testing/numpytest.py	2007-03-04 10:47:08 UTC (rev 3569)
+++ trunk/numpy/testing/numpytest.py	2007-03-05 06:03:54 UTC (rev 3570)
@@ -398,7 +398,7 @@
         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) \



More information about the Numpy-svn mailing list