diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-12 10:40:22 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-12 10:40:22 (GMT) |
commit | 76a63260685b0778e85f55f60b3bf82c66075e99 (patch) | |
tree | 8d053dd41693f9f12e5d60b03dea0f9e93fa9798 /Lib/test/test_builtin.py | |
parent | 5bdfc51950e328c5187fa02a97c0a841196a9e17 (diff) | |
download | cpython-76a63260685b0778e85f55f60b3bf82c66075e99.zip cpython-76a63260685b0778e85f55f60b3bf82c66075e99.tar.gz cpython-76a63260685b0778e85f55f60b3bf82c66075e99.tar.bz2 |
Try to fix test_cleanup (issue #20599).
Diffstat (limited to 'Lib/test/test_builtin.py')
-rw-r--r-- | Lib/test/test_builtin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index c078b44..8a307b9 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 |