summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/pyb_f411.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/pyb_f411.py')
-rw-r--r--tests/pyb/pyb_f411.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pyb/pyb_f411.py b/tests/pyb/pyb_f411.py
index 3286539650..50de302823 100644
--- a/tests/pyb/pyb_f411.py
+++ b/tests/pyb/pyb_f411.py
@@ -4,7 +4,6 @@ import os, pyb
if not 'STM32F411' in os.uname().machine:
print('SKIP')
- import sys
- sys.exit()
+ raise SystemExit
print(pyb.freq())