summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-10-24 16:28:28 +1100
committerDamien George <damien@micropython.org>2024-10-24 16:29:43 +1100
commitca6aed7649adcc25445e3da73a65bfbbca209728 (patch)
tree67ea363f14338b744e8f0a0e15e2b3cff981dc2c
parent6d98280fdaeb271353f7b0a85349ede309a8ad63 (diff)
downloadmicropython-ca6aed7649adcc25445e3da73a65bfbbca209728.tar.gz
micropython-ca6aed7649adcc25445e3da73a65bfbbca209728.zip
tests/extmod: Fix access of RTC class in machine.RTC test.
This previously passed on some targets that automatically import the `machine` module in `boot.py`. Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--tests/extmod/machine_rtc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/extmod/machine_rtc.py b/tests/extmod/machine_rtc.py
index 008453b56d..17518c2330 100644
--- a/tests/extmod/machine_rtc.py
+++ b/tests/extmod/machine_rtc.py
@@ -6,7 +6,7 @@ except ImportError:
print("SKIP")
raise SystemExit
-rtc = machine.RTC()
+rtc = RTC()
# Save datetime.
orig_datetime = rtc.datetime()