[Zope3-checkins] SVN: Zope3/trunk/src/zope/testing/doctest.py Merged from ZopeX3-3.0 branch:

Jim Fulton jim at zope.com
Fri Aug 27 17:24:21 EDT 2004


Log message for revision 27312:
  Merged from ZopeX3-3.0 branch:
  
    r27291 | jim | 2004-08-27 10:28:24 -0400 (Fri, 27 Aug 2004) | 2 lines
  
  Added missing setUp and tearDown calls to the debug method.
  


Changed:
  U   Zope3/trunk/src/zope/testing/doctest.py


-=-
Modified: Zope3/trunk/src/zope/testing/doctest.py
===================================================================
--- Zope3/trunk/src/zope/testing/doctest.py	2004-08-27 21:22:43 UTC (rev 27311)
+++ Zope3/trunk/src/zope/testing/doctest.py	2004-08-27 21:24:21 UTC (rev 27312)
@@ -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