test format_exception too
This commit is contained in:
parent
7e4b2a09eb
commit
c6bbb0e4f6
@ -21,7 +21,7 @@ except Exception as exc:
|
||||
print("\nLimit=0 Trace:")
|
||||
traceback.print_exception(None, exc, exc.__traceback__, limit=0)
|
||||
print("\nLimit=-1 Trace:")
|
||||
traceback.print_exception(None, exc, exc.__traceback__, limit=-1)
|
||||
print(traceback.format_exception(None, exc, exc.__traceback__, limit=-1), end="")
|
||||
|
||||
|
||||
class NonNativeException(Exception):
|
||||
|
Loading…
Reference in New Issue
Block a user