From: Serhiy Storchaka Date: Wed, 12 Feb 2014 10:40:22 +0000 (+0200) Subject: Try to fix test_cleanup (issue #20599). X-Git-Tag: v3.4.1rc1~233^2~340 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76a63260685b0778e85f55f60b3bf82c66075e99;p=python Try to fix test_cleanup (issue #20599). --- diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index c078b443c5..8a307b976a 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py @@ -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