You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
tests/machine1: Revamp to work with unix port (which has "umachine").
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user