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

Christian Theune <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <[email protected]>
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()
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.