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>
This commit is contained in:
Damien George 2024-10-24 16:28:28 +11:00
parent 6d98280fda
commit ca6aed7649

View File

@ -6,7 +6,7 @@ except ImportError:
print("SKIP")
raise SystemExit
rtc = machine.RTC()
rtc = RTC()
# Save datetime.
orig_datetime = rtc.datetime()