SVN: zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py moved gc shutdown to the shutdown phase

Christian Theune <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <20080504090911.165FC39998__44746.2015007206$1209892215$gmane$org@mail.zope.org>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.