summaryrefslogtreecommitdiff
path: root/tests/wipy/wdt.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wipy/wdt.py')
-rw-r--r--tests/wipy/wdt.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/wipy/wdt.py b/tests/wipy/wdt.py
index 9be6293b0..8e07fd831 100644
--- a/tests/wipy/wdt.py
+++ b/tests/wipy/wdt.py
@@ -3,6 +3,7 @@ WDT test for the CC3200 based boards
'''
from pyb import WDT
+import time
# test the invalid cases first
try:
@@ -28,10 +29,10 @@ try:
except Exception:
print("Exception")
-pyb.delay(500)
+time.sleep_ms(500)
wdt.feed()
print(wdt)
-pyb.delay(900)
+time.sleep_ms(900)
wdt.feed()
print(wdt)
-pyb.delay(950)
+time.sleep_ms(950)