diff options
Diffstat (limited to 'tests/pyb/can.py')
-rw-r--r-- | tests/pyb/can.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/pyb/can.py b/tests/pyb/can.py index 617eb7ccc..0fd8c8368 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 @@ -158,7 +157,7 @@ print(can.recv(1)) del can -# Testing asyncronous send +# Testing asynchronous send can = CAN(1, CAN.LOOPBACK) can.setfilter(0, CAN.MASK16, 0, (0, 0, 0, 0)) |