mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
tests/basics: Convert "sys.exit()" to "raise SystemExit".
This commit is contained in:
@@ -4,9 +4,8 @@ try:
|
||||
# nothing to test.
|
||||
object.__init__
|
||||
except AttributeError:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
raise SystemExit
|
||||
|
||||
class Test(object):
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user