[Zope3-checkins]
SVN: zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py
moved gc shutdown to the shutdown phase
Christian Theune
ct at gocept.com
Sun May 4 05:09:11 EDT 2008
Log message for revision 86320:
moved gc shutdown to the shutdown phase
Changed:
U zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py
-=-
Modified: zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py
===================================================================
--- zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py 2008-05-04 09:04:38 UTC (rev 86319)
+++ zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py 2008-05-04 09:09:09 UTC (rev 86320)
@@ -358,15 +358,15 @@
doctest.set_unittest_reportflags(self.old_reporting_flags)
+ self.failed = bool(import_errors or failures or errors)
+
+ def shutdown_features(self):
if self.options.gc_option:
gc.set_debug(self.old_flags)
if self.options.gc:
gc.set_threshold(*self.old_threshold)
- self.failed = bool(import_errors or failures or errors)
-
- def shutdown_features(self):
if self.options.profile:
self.profiler.finish()
# We must explicitly close the handle mkstemp returned, else on
More information about the Zope3-Checkins
mailing list