mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
tests/basics: Convert "sys.exit()" to "raise SystemExit".
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
try:
|
||||
import array
|
||||
except ImportError:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
raise SystemExit
|
||||
|
||||
print(b"123" + array.array('i', [1]))
|
||||
|
||||
Reference in New Issue
Block a user