Skip to content

Commit 9ba04cc

Browse files
projectgusdpgeorge
authored andcommitted
tests/extmod: Skip soft machine.Timer test on esp32 port.
Also rename the test to reflect that it's a soft timer test. Signed-off-by: Angus Gratton <[email protected]>
1 parent d1685a3 commit 9ba04cc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/extmod/machine_timer.py renamed to tests/extmod/machine_soft_timer.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# test machine.Timer
1+
# test "soft" machine.Timer (no hardware ID)
2+
import sys
3+
4+
5+
if sys.platform == "esp32":
6+
print("SKIP") # TODO: Implement soft timers for esp32 port
7+
raise SystemExit
8+
29

310
try:
411
import time, machine as machine

0 commit comments

Comments
 (0)