diff options
author | Damien George <damien@micropython.org> | 2024-05-14 15:19:30 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-05-14 16:02:30 +1000 |
commit | 025d10a702c0815946418f37300f64fdba43f371 (patch) | |
tree | 2f4f0e9620bbd87f925ebfd5d752804e8d6dde50 | |
parent | 154d602b6e92cd5781d87291fa0e7455a14af334 (diff) |
tests/micropython/import_mpy_invalid.py: Skip if target cant import mpy.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r-- | tests/micropython/import_mpy_invalid.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/micropython/import_mpy_invalid.py b/tests/micropython/import_mpy_invalid.py index c7f0a2c1a..89fdf4483 100644 --- a/tests/micropython/import_mpy_invalid.py +++ b/tests/micropython/import_mpy_invalid.py @@ -3,6 +3,7 @@ try: import sys, io, vfs + sys.implementation._mpy io.IOBase except (ImportError, AttributeError): print("SKIP") |