mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
tests: Convert remaining "sys.exit()" to "raise SystemExit".
This commit is contained in:
@@ -5,9 +5,8 @@ import sys
|
||||
try:
|
||||
import uio
|
||||
except ImportError:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
raise SystemExit
|
||||
|
||||
# preallocate exception instance with some room for a traceback
|
||||
global_exc = StopIteration()
|
||||
|
||||
Reference in New Issue
Block a user