summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/dac.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/dac.py')
-rw-r--r--tests/pyb/dac.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pyb/dac.py b/tests/pyb/dac.py
index 942f303543..6f03bbc64d 100644
--- a/tests/pyb/dac.py
+++ b/tests/pyb/dac.py
@@ -2,8 +2,7 @@ import pyb
if not hasattr(pyb, 'DAC'):
print('SKIP')
- import sys
- sys.exit()
+ raise SystemExit
dac = pyb.DAC(1)
print(dac)