diff options
author | Damien George <damien@micropython.org> | 2024-10-24 16:28:28 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-10-24 16:29:43 +1100 |
commit | ca6aed7649adcc25445e3da73a65bfbbca209728 (patch) | |
tree | 67ea363f14338b744e8f0a0e15e2b3cff981dc2c | |
parent | 6d98280fdaeb271353f7b0a85349ede309a8ad63 (diff) | |
download | micropython-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.py | 2 |
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() |