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:
@@ -7,9 +7,8 @@ try:
|
||||
# nothing to test.
|
||||
object.__new__
|
||||
except AttributeError:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
raise SystemExit
|
||||
|
||||
class Foo:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user