Log message for revision 40336:
  Ensure we don't forget to restore sys.stderr.

Changed:
  U   
Zope/branches/Zope-2_8-branch/lib/python/Products/PythonScripts/tests/testPythonScript.py

-=-
Modified: 
Zope/branches/Zope-2_8-branch/lib/python/Products/PythonScripts/tests/testPythonScript.py
===================================================================
--- 
Zope/branches/Zope-2_8-branch/lib/python/Products/PythonScripts/tests/testPythonScript.py
   2005-11-22 22:50:33 UTC (rev 40335)
+++ 
Zope/branches/Zope-2_8-branch/lib/python/Products/PythonScripts/tests/testPythonScript.py
   2005-11-23 02:18:03 UTC (rev 40336)
@@ -244,6 +244,14 @@
                 self.assertRaises(TypeError, f)
 
 class TestPythonScriptGlobals(PythonScriptTestBase, WarningInterceptor):
+
+    def setUp(self):
+        PythonScriptTestBase.setUp(self)
+
+    def tearDown(self):
+        self._free_warning_output()
+        PythonScriptTestBase.tearDown(self)
+
     def _exec(self, script, bound_names=None, args=None, kws=None):
         if args is None:
             args = ()

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to