Commit 71d96c77 authored by Fred Drake's avatar Fred Drake

Before calling traceback.print_exc(), call sys.stdout.flush(). This makes

it much easier to see where things went wrong.
parent a35b04d5
...@@ -497,6 +497,7 @@ for name in names: ...@@ -497,6 +497,7 @@ for name in names:
except Exception, e: except Exception, e:
works = 0 works = 0
print "Test Failed: ", name print "Test Failed: ", name
sys.stdout.flush()
traceback.print_exception(*sys.exc_info()) traceback.print_exception(*sys.exc_info())
print `e` print `e`
Node.allnodes = {} Node.allnodes = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment