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 <angus@redyak.com.au>
This commit is contained in:
Angus Gratton 2024-08-01 16:26:46 +10:00 committed by Damien George
parent d1685a3f5f
commit 9ba04cc756

View File

@ -1,4 +1,11 @@
# test machine.Timer
# test "soft" machine.Timer (no hardware ID)
import sys
if sys.platform == "esp32":
print("SKIP") # TODO: Implement soft timers for esp32 port
raise SystemExit
try:
import time, machine as machine