[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/testing/doctest.py Added missing setUp and tearDown calls to the debug method.

Jim Fulton jim at zope.com
Fri Aug 27 10:28:24 EDT 2004


Log message for revision 27291:
  Added missing setUp and tearDown calls to the debug method.
  


Changed:
  U   Zope3/branches/ZopeX3-3.0/src/zope/testing/doctest.py


-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/testing/doctest.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/testing/doctest.py	2004-08-27 14:28:21 UTC (rev 27290)
+++ Zope3/branches/ZopeX3-3.0/src/zope/testing/doctest.py	2004-08-27 14:28:24 UTC (rev 27291)
@@ -2118,9 +2118,11 @@
 
            """
 
+        self.setUp()
         runner = DebugRunner(optionflags=self._dt_optionflags,
                              checker=self._dt_checker, verbose=False)
         runner.run(self._dt_test)
+        self.tearDown()
 
     def id(self):
         return self._dt_test.name



More information about the Zope3-Checkins mailing list