Skip to content

Commit 025d10a

Browse files
committed
tests/micropython/import_mpy_invalid.py: Skip if target cant import mpy.
Signed-off-by: Damien George <damien@micropython.org>
1 parent 154d602 commit 025d10a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/micropython/import_mpy_invalid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
try:
44
import sys, io, vfs
55

6+
sys.implementation._mpy
67
io.IOBase
78
except (ImportError, AttributeError):
89
print("SKIP")

0 commit comments

Comments
 (0)