mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 11:40:18 +01:00
tests/basics: Convert "sys.exit()" to "raise SystemExit".
This commit is contained in:
@@ -21,9 +21,8 @@ m = Main()
|
||||
try:
|
||||
m.__class__
|
||||
except AttributeError:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
raise SystemExit
|
||||
|
||||
r = m.Forward
|
||||
if 'Descriptor' in repr(r.__class__):
|
||||
|
||||
Reference in New Issue
Block a user