Issue #20599: Don't clear environment in test_cleanup() of test_builtin
This commit is contained in:
parent
1ff0ee0be2
commit
e755fba2d1
|
@ -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())
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue