From: Victor Stinner Date: Thu, 13 Feb 2014 09:54:32 +0000 (+0100) Subject: Issue #20599: Don't clear environment in test_cleanup() of test_builtin X-Git-Tag: v3.4.0rc3~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d44cebb0f50b7c541691b9516c5c1717d2a510b1;p=thirdparty%2FPython%2Fcpython.git Issue #20599: Don't clear environment in test_cleanup() of test_builtin --- diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index 5c14de357762..b561a6f73adc 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py @@ -1624,8 +1624,7 @@ class ShutdownTest(unittest.TestCase): # sys.stdout.encoding is the OEM code page and these code pages are # implemented in Python rc, out, err = assert_python_ok("-c", code, - PYTHONIOENCODING="ascii", - __cleanenv=True) + PYTHONIOENCODING="ascii") self.assertEqual(["before", "after"], out.decode().splitlines())