[Zope-Checkins]
SVN: Zope/branches/2.9/lib/python/Products/PythonScripts/tests/testPythonScript.py
Ensure we don't forget to restore sys.stderr.
Tres Seaver
tseaver at palladion.com
Tue Nov 22 21:18:27 EST 2005
Log message for revision 40337:
Ensure we don't forget to restore sys.stderr.
Changed:
U Zope/branches/2.9/lib/python/Products/PythonScripts/tests/testPythonScript.py
-=-
Modified: Zope/branches/2.9/lib/python/Products/PythonScripts/tests/testPythonScript.py
===================================================================
--- Zope/branches/2.9/lib/python/Products/PythonScripts/tests/testPythonScript.py 2005-11-23 02:18:03 UTC (rev 40336)
+++ Zope/branches/2.9/lib/python/Products/PythonScripts/tests/testPythonScript.py 2005-11-23 02:18:27 UTC (rev 40337)
@@ -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 = ()
More information about the Zope-Checkins
mailing list