tests/machine1: Revamp to work with unix port (which has "umachine").
This commit is contained in:
parent
eb0e3bab1e
commit
bc3912980a
@ -1,6 +1,9 @@
|
|||||||
# test machine module
|
# test machine module
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
try:
|
||||||
|
import umachine as machine
|
||||||
|
except ImportError:
|
||||||
import machine
|
import machine
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("SKIP")
|
print("SKIP")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user