summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/can.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/can.py')
-rw-r--r--tests/pyb/can.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pyb/can.py b/tests/pyb/can.py
index 7f2d070ecb..0fd8c8368d 100644
--- a/tests/pyb/can.py
+++ b/tests/pyb/can.py
@@ -2,8 +2,7 @@ try:
from pyb import CAN
except ImportError:
print('SKIP')
- import sys
- sys.exit()
+ raise SystemExit
import pyb