diff --git a/tests/extmod/machine1.py b/tests/extmod/machine1.py index f93f79b284..e7fd40d4db 100644 --- a/tests/extmod/machine1.py +++ b/tests/extmod/machine1.py @@ -1,6 +1,12 @@ # test machine module -import machine +try: + import machine +except ImportError: + print("SKIP") + import sys + sys.exit() + import uctypes print(machine.mem8)