mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
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>
This commit is contained in:
@@ -71,7 +71,7 @@ try:
|
||||
except Exception as e:
|
||||
print("reraise")
|
||||
print_exc(e)
|
||||
raise
|
||||
raise e
|
||||
except Exception as e:
|
||||
print("caught")
|
||||
print_exc(e)
|
||||
|
||||
Reference in New Issue
Block a user