diff options
Diffstat (limited to 'tests/pyb/pyb_f405.py')
-rw-r--r-- | tests/pyb/pyb_f405.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pyb/pyb_f405.py b/tests/pyb/pyb_f405.py index 3c81fe109d..2f161ae099 100644 --- a/tests/pyb/pyb_f405.py +++ b/tests/pyb/pyb_f405.py @@ -4,8 +4,7 @@ import os, pyb if not 'STM32F405' in os.uname().machine: print('SKIP') - import sys - sys.exit() + raise SystemExit print(pyb.freq()) print(type(pyb.rng())) |