summaryrefslogtreecommitdiff
path: root/tests/micropython/schedule.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/schedule.py')
-rw-r--r--tests/micropython/schedule.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/micropython/schedule.py b/tests/micropython/schedule.py
index 3d584eea4..74f90cb2d 100644
--- a/tests/micropython/schedule.py
+++ b/tests/micropython/schedule.py
@@ -6,8 +6,7 @@ try:
micropython.schedule
except AttributeError:
print('SKIP')
- import sys
- sys.exit()
+ raise SystemExit
# Basic test of scheduling a function.