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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy