[Zope3-checkins] SVN: zope.testing/trunk/src/zope/testing/doctest.py In debug mode, shouldn't clean up test globs. That is done more

Jim Fulton jim at zope.com
Fri Dec 2 18:25:07 EST 2005


Log message for revision 40511:
  In debug mode, shouldn't clean up test globs.  That is done more
  carefully by tearDown.
  

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

-=-
Modified: zope.testing/trunk/src/zope/testing/doctest.py
===================================================================
--- zope.testing/trunk/src/zope/testing/doctest.py	2005-12-02 22:44:16 UTC (rev 40510)
+++ zope.testing/trunk/src/zope/testing/doctest.py	2005-12-02 23:25:06 UTC (rev 40511)
@@ -2276,7 +2276,7 @@
         self.setUp()
         runner = DebugRunner(optionflags=self._dt_optionflags,
                              checker=self._dt_checker, verbose=False)
-        runner.run(self._dt_test)
+        runner.run(self._dt_test, clear_globs=False)
         self.tearDown()
 
     def id(self):



More information about the Zope3-Checkins mailing list