summaryrefslogtreecommitdiff
path: root/tests/pyb/accel.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/accel.py')
-rw-r--r--tests/pyb/accel.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pyb/accel.py b/tests/pyb/accel.py
index e5a1a2ed7..9aa60c185 100644
--- a/tests/pyb/accel.py
+++ b/tests/pyb/accel.py
@@ -1,5 +1,9 @@
import pyb
+if not hasattr(pyb, 'Accel'):
+ print('SKIP')
+ raise SystemExit
+
accel = pyb.Accel()
print(accel)
accel.x()