summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-16 13:39:14 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-16 13:39:14 +0100
commitd779b9642ff9bd7f576a8718d3abedd532634388 (patch)
tree9fe7b7b3a37be9838692f5853a9c31cb7a9b9003
parent244476e3e66478f2e5d54ca92e10f9881747bd4f (diff)
downloadmicropython-d779b9642ff9bd7f576a8718d3abedd532634388.tar.gz
micropython-d779b9642ff9bd7f576a8718d3abedd532634388.zip
tests: Wait for just over 1 sec when testing RTC.
Waiting for 1000ms between seconds of RTC is sometimes too quick. Waiting for 1001ms is enough for the RTC to pass 1 second.
-rw-r--r--tests/pyb/rtc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyb/rtc.py b/tests/pyb/rtc.py
index 219d0791af..f2c96f160e 100644
--- a/tests/pyb/rtc.py
+++ b/tests/pyb/rtc.py
@@ -6,7 +6,7 @@ print(rtc)
# make sure that 1 second passes correctly
rtc.datetime((2014, 1, 1, 1, 0, 0, 0, 0))
-pyb.delay(1000)
+pyb.delay(1001)
print(rtc.datetime()[:7])
def set_and_print(datetime):