[Zope3-checkins] SVN: zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py removed temporary hack for late initialization/early teardown

Christian Theune ct at gocept.com
Sun May 4 08:43:07 EDT 2008


Log message for revision 86354:
  removed temporary hack for late initialization/early teardown
  

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 12:41:55 UTC (rev 86353)
+++ zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py	2008-05-04 12:43:07 UTC (rev 86354)
@@ -87,9 +87,6 @@
         self.options = options
         self.failed = True
 
-        self.late_initializers = []
-        self.early_shutdown = []
-
         self.ran = 0
         self.failures = []
         self.errors = []
@@ -116,16 +113,12 @@
         # Some system tools like profilers are really bad with stack frames.
         # E.g. hotshot doesn't like it when we leave the stack frame that we
         # called start() from.
-        for init in self.late_initializers:
-            init()
         for feature in self.features:
             feature.late_setup()
 
         try:
             self.run_tests()
         finally:
-            for shutdown in self.early_shutdown:
-                shutdown()
             # Early teardown
             for feature in reversed(self.features):
                 feature.early_teardown()



More information about the Zope3-Checkins mailing list