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:
parent
0f5f6484a2
commit
95d1794afd
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue