Test new-style exception printing
This commit is contained in:
parent
448eb1b70b
commit
9ecb905061
@ -15,7 +15,7 @@ except Exception as exc:
|
||||
print("\nNo Trace:")
|
||||
traceback.print_exception(None, exc, None)
|
||||
print("\nDefault Trace:")
|
||||
traceback.print_exception(None, exc, exc.__traceback__)
|
||||
traceback.print_exception(exc)
|
||||
print("\nLimit=1 Trace:")
|
||||
traceback.print_exception(None, exc, exc.__traceback__, limit=1)
|
||||
print("\nLimit=0 Trace:")
|
||||
|
Loading…
x
Reference in New Issue
Block a user