Commits

jason kirtland committed 112b272

- Run profiling tests first.

  • Participants
  • Parent commits 030b951

Comments (0)

Files changed (1)

 import zblog.alltests as zblog
 import profiling.alltests as profiling
 
+# The profiling tests are sensitive to foibles of CPython VM state, so
+# run them first.  Ideally, each should be run in a fresh interpreter.
+
 def suite():
     alltests = unittest.TestSuite()
-    for suite in (base, engine, sql, dialect, orm, ext, zblog, profiling):
+    for suite in (profiling, base, engine, sql, dialect, orm, ext, zblog):
         alltests.addTest(suite.suite())
     return alltests