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
|
||||
|
||||
try:
|
||||
import machine
|
||||
try:
|
||||
import umachine as machine
|
||||
except ImportError:
|
||||
import machine
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
import sys
|
||||
|
Loading…
x
Reference in New Issue
Block a user