From 1703cf662cb3c5c7c58f20f89899c8c00240ac18 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 15 Dec 2000 21:31:59 +0000 Subject: Before calling traceback.print_exc(), call sys.stdout.flush(). This makes it much easier to see where things went wrong. --- Lib/test/test_minidom.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index 551e9f9..dbdd25e 100644 --- a/Lib/test/test_minidom.py +++ b/Lib/test/test_minidom.py @@ -497,6 +497,7 @@ for name in names: except Exception, e: works = 0 print "Test Failed: ", name + sys.stdout.flush() traceback.print_exception(*sys.exc_info()) print `e` Node.allnodes = {} -- cgit v0.12