diff options
Diffstat (limited to 'tests/pyb/can.py')
-rw-r--r-- | tests/pyb/can.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/pyb/can.py b/tests/pyb/can.py index 594d1d5093..617eb7cccc 100644 --- a/tests/pyb/can.py +++ b/tests/pyb/can.py @@ -1,4 +1,10 @@ -from pyb import CAN +try: + from pyb import CAN +except ImportError: + print('SKIP') + import sys + sys.exit() + import pyb # test we can correctly create by id or name |