Kaydet (Commit) f86b4338 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Try to fix test_cleanup (issue #20599).

üst 3b4ce690
......@@ -1604,10 +1604,10 @@ class ShutdownTest(unittest.TestCase):
class C:
def __del__(self):
print("before")
print("before", flush=True)
# Check that builtins still exist
len(())
print("after")
print("after", flush=True)
c = C()
# Make this module survive until builtins and sys are cleaned
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment