diff options
author | Fred Drake <fdrake@acm.org> | 2000-12-15 21:31:59 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-12-15 21:31:59 +0000 |
commit | 71d96c771d1694d938857064eaa49f923718eae9 (patch) | |
tree | 161fee494ed24ec0e74d9bb0f45ae9c896b08c8b /Lib/test/test_minidom.py | |
parent | a35b04d5f4850f8e77f8ab1b6dacf3271715d7c2 (diff) | |
download | cpython-71d96c771d1694d938857064eaa49f923718eae9.tar.gz |
Before calling traceback.print_exc(), call sys.stdout.flush(). This makes
it much easier to see where things went wrong.
Diffstat (limited to 'Lib/test/test_minidom.py')
-rw-r--r-- | Lib/test/test_minidom.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index 551e9f9aa9..dbdd25e1d2 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 = {} |