]> granicus.if.org Git - python/commitdiff
Issue #20599: Don't clear environment in test_cleanup() of test_builtin
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 13 Feb 2014 09:54:32 +0000 (10:54 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 13 Feb 2014 09:54:32 +0000 (10:54 +0100)
Lib/test/test_builtin.py

index 5c14de357762ad7761e2471cf734ebc912d61f6a..b561a6f73adc9690be0611e874931e44cd0c89f9 100644 (file)
@@ -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())