Skip to content

Commit

Permalink
tests/extmod: Fix access of RTC class in machine.RTC test.
Browse files Browse the repository at this point in the history
This previously passed on some targets that automatically import the
`machine` module in `boot.py`.

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Oct 24, 2024
1 parent 6d98280 commit ca6aed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/extmod/machine_rtc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
print("SKIP")
raise SystemExit

rtc = machine.RTC()
rtc = RTC()

# Save datetime.
orig_datetime = rtc.datetime()
Expand Down

0 comments on commit ca6aed7

Please sign in to comment.