summaryrefslogtreecommitdiffstatshomepage
path: root/tests/ports/stm32/pyb1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ports/stm32/pyb1.py')
-rw-r--r--tests/ports/stm32/pyb1.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ports/stm32/pyb1.py b/tests/ports/stm32/pyb1.py
index e9626ecf4e..5627946dbc 100644
--- a/tests/ports/stm32/pyb1.py
+++ b/tests/ports/stm32/pyb1.py
@@ -2,6 +2,10 @@
import pyb
+if not hasattr(pyb, "delay"):
+ print("SKIP")
+ raise SystemExit
+
# test delay
pyb.delay(-1)