Skip to content

Commit 00c9004

Browse files
committed
test format_exception too
1 parent f7d39ce commit 00c9004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/circuitpython/traceback_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def fun():
2121
print("\nLimit=0 Trace:")
2222
traceback.print_exception(None, exc, exc.__traceback__, limit=0)
2323
print("\nLimit=-1 Trace:")
24-
traceback.print_exception(None, exc, exc.__traceback__, limit=-1)
24+
print(traceback.format_exception(None, exc, exc.__traceback__, limit=-1))
2525

2626

2727
class NonNativeException(Exception):

0 commit comments

Comments
 (0)