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

numpy-svn@scip... numpy-svn@scip...
Mon Apr 16 23:54:51 CDT 2007


Author: cookedm
Date: 2007-04-16 23:54:49 -0500 (Mon, 16 Apr 2007)
New Revision: 3717

Modified:
   trunk/numpy/testing/numpytest.py
Log:
Sort module names when running tests

Modified: trunk/numpy/testing/numpytest.py
===================================================================
--- trunk/numpy/testing/numpytest.py	2007-04-15 04:46:07 UTC (rev 3716)
+++ trunk/numpy/testing/numpytest.py	2007-04-17 04:54:49 UTC (rev 3717)
@@ -453,8 +453,11 @@
                 continue
             if os.path.basename(os.path.dirname(module.__file__))=='tests':
                 continue
-            modules.append(module)
+            modules.append((name, module))
 
+        modules.sort()
+        modules = [m[1] for m in modules]
+
         self.test_files = []
         suites = []
         for module in modules:



More information about the Numpy-svn mailing list