diff options
Diffstat (limited to 'tests/ports/stm32/servo.py')
-rw-r--r-- | tests/ports/stm32/servo.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/ports/stm32/servo.py b/tests/ports/stm32/servo.py index d15cafe483..0784f64d33 100644 --- a/tests/ports/stm32/servo.py +++ b/tests/ports/stm32/servo.py @@ -1,4 +1,8 @@ -from pyb import Servo +try: + from pyb import Servo +except ImportError: + print("SKIP") + raise SystemExit servo = Servo(1) print(servo) |