Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e755fba

Browse files
committed
Issue #20599: Don't clear environment in test_cleanup() of test_builtin
1 parent 1ff0ee0 commit e755fba

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/test/test_builtin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,8 +1624,7 @@ def __del__(self):
16241624
# sys.stdout.encoding is the OEM code page and these code pages are
16251625
# implemented in Python
16261626
rc, out, err = assert_python_ok("-c", code,
1627-
PYTHONIOENCODING="ascii",
1628-
__cleanenv=True)
1627+
PYTHONIOENCODING="ascii")
16291628
self.assertEqual(["before", "after"], out.decode().splitlines())
16301629

16311630

0 commit comments

Comments
 (0)