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

This commit is contained in:
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,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