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:
Damien George
2025-08-10 12:04:58 +10:00
parent 0f5f6484a2
commit 95d1794afd

View File

@@ -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)