diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-16 13:39:14 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-16 13:39:14 +0100 |
commit | d779b9642ff9bd7f576a8718d3abedd532634388 (patch) | |
tree | 9fe7b7b3a37be9838692f5853a9c31cb7a9b9003 | |
parent | 244476e3e66478f2e5d54ca92e10f9881747bd4f (diff) | |
download | micropython-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.py | 2 |
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): |