mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Issue #20599: Don't clear environment in test_cleanup() of test_builtin
This commit is contained in:
parent
8ebe5324a0
commit
d44cebb0f5
1 changed files with 1 additions and 2 deletions
|
@ -1624,8 +1624,7 @@ class ShutdownTest(unittest.TestCase):
|
||||||
# sys.stdout.encoding is the OEM code page and these code pages are
|
# sys.stdout.encoding is the OEM code page and these code pages are
|
||||||
# implemented in Python
|
# implemented in Python
|
||||||
rc, out, err = assert_python_ok("-c", code,
|
rc, out, err = assert_python_ok("-c", code,
|
||||||
PYTHONIOENCODING="ascii",
|
PYTHONIOENCODING="ascii")
|
||||||
__cleanenv=True)
|
|
||||||
self.assertEqual(["before", "after"], out.decode().splitlines())
|
self.assertEqual(["before", "after"], out.decode().splitlines())
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue