Before calling traceback.print_exc(), call sys.stdout.flush(). This makes
it much easier to see where things went wrong.
This commit is contained in:
parent
279aa6cabc
commit
1703cf662c
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in New Issue