summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_builtin.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-13 09:54:32 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-13 09:54:32 (GMT)
commite755fba2d11bc9ceb88d6bad176763b65a1524d3 (patch)
treea699375171f5b034d2ba452b093396f9f1cad57a /Lib/test/test_builtin.py
parent1ff0ee0be2e5e0a1a961d042d47e13febbb1ce0e (diff)
downloadcpython-e755fba2d11bc9ceb88d6bad176763b65a1524d3.zip
cpython-e755fba2d11bc9ceb88d6bad176763b65a1524d3.tar.gz
cpython-e755fba2d11bc9ceb88d6bad176763b65a1524d3.tar.bz2
Issue #20599: Don't clear environment in test_cleanup() of test_builtin
Diffstat (limited to 'Lib/test/test_builtin.py')
-rw-r--r--Lib/test/test_builtin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index 5c14de3..b561a6f 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())