Skip to content

Commit 95d1794

Browse files
committed
tests/misc/print_exception.py: Use "raise e" instead of no-arg "raise".
This allows the test to run with the native emitter. The test semantics remain the same. Signed-off-by: Damien George <damien@micropython.org>
1 parent 0f5f648 commit 95d1794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/misc/print_exception.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def g():
7171
except Exception as e:
7272
print("reraise")
7373
print_exc(e)
74-
raise
74+
raise e
7575
except Exception as e:
7676
print("caught")
7777
print_exc(e)

0 commit comments

Comments
 (0)