diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-13 09:54:32 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-13 09:54:32 (GMT) |
commit | d44cebb0f50b7c541691b9516c5c1717d2a510b1 (patch) | |
tree | 9e1c1b2ce63c8fda38cebf3440105c86513e70d4 /Lib/test/test_builtin.py | |
parent | 8ebe5324a072b871646ce67bb44d675acdff05fb (diff) | |
download | cpython-d44cebb0f50b7c541691b9516c5c1717d2a510b1.zip cpython-d44cebb0f50b7c541691b9516c5c1717d2a510b1.tar.gz cpython-d44cebb0f50b7c541691b9516c5c1717d2a510b1.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.py | 3 |
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()) |