tests/machine1: Revamp to work with unix port (which has "umachine").

webrepl-nonblock-get
Paul Sokolovsky 2016-07-31 04:30:48 +03:00
parent eb0e3bab1e
commit bc3912980a
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
# test machine module
try:
try:
import umachine as machine
except ImportError:
import machine
except ImportError:
print("SKIP")