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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy