8000 tests/machine1: Revamp to work with unix port (which has "umachine"). · sparkfun/circuitpython@bc39129 · GitHub
[go: up one dir, main page]

Skip to content

Commit bc39129

Browse files
committed
tests/machine1: Revamp to work with unix port (which has "umachine").
1 parent eb0e3ba commit bc39129

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/extmod/machine1.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# test machine module
22

33
try:
4-
import machine
4+
try:
5+
import umachine as machine
6+
except ImportError:
7+
import machine
58
except ImportError:
69
print("SKIP")
710
import sys

0 commit comments

Comments
 (0)
0