From: Fred Drake Date: Fri, 15 Dec 2000 21:31:59 +0000 (+0000) Subject: Before calling traceback.print_exc(), call sys.stdout.flush(). This makes X-Git-Tag: v2.1a1~557 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1703cf662cb3c5c7c58f20f89899c8c00240ac18;p=thirdparty%2FPython%2Fcpython.git Before calling traceback.print_exc(), call sys.stdout.flush(). This makes it much easier to see where things went wrong. --- diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index 551e9f9aa9b4..dbdd25e1d276 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 = {}