tests/basics: Convert "sys.exit()" to "raise SystemExit".
This commit is contained in:
@@ -4,8 +4,7 @@ try:
|
||||
compile
|
||||
except NameError:
|
||||
print("SKIP")
|
||||
import sys
|
||||
sys.exit()
|
||||
raise SystemExit
|
||||
|
||||
# completely empty string
|
||||
# uPy and CPy differ for this case
|
||||
|
||||
Reference in New Issue
Block a user