mirror of
https://github.com/micropython/micropython.git
synced 2025-08-29 14:00:42 +02: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