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