summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/rtc.py
diff options
context:
space:
mode:
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))