From: Jason Kirtland Date: Wed, 2 Apr 2008 17:55:11 +0000 (+0000) Subject: - Run profiling tests first. X-Git-Tag: rel_0_4_5~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9dce78a3bf0b2e95157e1e85b69d67af55965ab;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - Run profiling tests first. --- diff --git a/test/alltests.py b/test/alltests.py index 159b2d211e..b08d0af13d 100644 --- a/test/alltests.py +++ b/test/alltests.py @@ -10,9 +10,12 @@ import ext.alltests as ext 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