[Python-checkins] cpython (3.4): Try to fix test_cleanup (issue #20599).
larry.hastings
python-checkins at python.org
Mon Mar 17 07:33:01 CET 2014
http://hg.python.org/cpython/rev/3d5154fa8413
changeset: 89771:3d5154fa8413
branch: 3.4
user: Serhiy Storchaka <storchaka at gmail.com>
date: Wed Feb 12 12:40:22 2014 +0200
summary:
Try to fix test_cleanup (issue #20599).
files:
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
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
@@ -1604,10 +1604,10 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list