mirror of
https://github.com/micropython/micropython.git
synced 2025-08-18 16:40:38 +02:00
tests/basics: Convert "sys.exit()" to "raise SystemExit".
This commit is contained in:
@@ -8,9 +8,8 @@ except ImportError:
|
||||
try:
|
||||
from ucollections import namedtuple
|
||||
except ImportError:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
raise SystemExit
|
||||
|
||||
_DefragResultBase = namedtuple('DefragResult', [ 'foo', 'bar' ])
|
||||
|
||||
|
Reference in New Issue
Block a user