summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/rtc.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-04 12:40:51 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-04 12:40:51 +0100
commitcda363a036f550707ed48d94e1be3ad54dda90b6 (patch)
tree1719b19ce5a3a1fa191ad1ecfe8a49082f05ad5f /tests/pyb/rtc.py
parentc327c0de5d7a07cc0afa2fbad5aa33f59d90aad0 (diff)
downloadmicropython-cda363a036f550707ed48d94e1be3ad54dda90b6.tar.gz
micropython-cda363a036f550707ed48d94e1be3ad54dda90b6.zip
tests, pyb: Add 'import pyb' when needed.
Diffstat (limited to 'tests/pyb/rtc.py')
-rw-r--r--tests/pyb/rtc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pyb/rtc.py b/tests/pyb/rtc.py
index ac716b27fc..853aa79577 100644
--- a/tests/pyb/rtc.py
+++ b/tests/pyb/rtc.py
@@ -1,4 +1,6 @@
+import pyb
from pyb import RTC
+
rtc = RTC()
print(rtc)
rtc.datetime((2014, 1, 1, 1, 0, 0, 0, 0))