Log message for revision 40338: Ensure we don't forget to restore sys.stderr.
Changed: U Zope/trunk/lib/python/Products/PythonScripts/tests/testPythonScript.py -=- Modified: Zope/trunk/lib/python/Products/PythonScripts/tests/testPythonScript.py =================================================================== --- Zope/trunk/lib/python/Products/PythonScripts/tests/testPythonScript.py 2005-11-23 02:18:27 UTC (rev 40337) +++ Zope/trunk/lib/python/Products/PythonScripts/tests/testPythonScript.py 2005-11-23 02:18:55 UTC (rev 40338) @@ -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