mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
tests/run-tests: Auto-skip extmod/ticks_diff, extmod/time_ms_us tests.
This commit is contained in:
committed by
Damien George
parent
88cbfd791a
commit
0852acfc74
@@ -1,4 +1,8 @@
|
||||
from utime import ticks_diff, ticks_add
|
||||
try:
|
||||
from utime import ticks_diff, ticks_add
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
MAX = ticks_add(0, -1)
|
||||
# Should be done like this to avoid small int overflow
|
||||
|
||||
Reference in New Issue
Block a user