From d3bb3e38df3fcb2b980d37e06fde7eac9e689f6a Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 6 Feb 2017 13:48:01 +1100 Subject: tests/pyb: Adjust tests so they can run on PYB and PYBLITE. A few tests still fail on PYBLITE, and that's due to differences in the available peripheral block numbers on the different MCUs (eg I2C(2) exists on one, but it's I2C(3) on the other). --- tests/pyb/rtc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/pyb/rtc.py') diff --git a/tests/pyb/rtc.py b/tests/pyb/rtc.py index 300c956342..844526b4b9 100644 --- a/tests/pyb/rtc.py +++ b/tests/pyb/rtc.py @@ -7,7 +7,7 @@ print(rtc) # make sure that 1 second passes correctly rtc.datetime((2014, 1, 1, 1, 0, 0, 0, 0)) -pyb.delay(1001) +pyb.delay(1002) print(rtc.datetime()[:7]) def set_and_print(datetime): -- cgit v1.2.3