mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
tests/basics: Convert "sys.exit()" to "raise SystemExit".
This commit is contained in:
@@ -2,8 +2,7 @@ try:
|
||||
frozenset
|
||||
except NameError:
|
||||
print("SKIP")
|
||||
import sys
|
||||
sys.exit()
|
||||
raise SystemExit
|
||||
|
||||
s = frozenset({1, 2, 3, 4})
|
||||
t = s.copy()
|
||||
|
||||
Reference in New Issue
Block a user