Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Oct 4, 2024
1 parent 61d2861 commit 0530934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/core/samplers/test_cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

def test_run_negative_time_elapsed(caplog):
cpu = Cpu()
cpu.last_run = dt.datetime.now() + dt.timedelta(days=100)
cpu.last_run = dt.datetime.now(dt.timezone.utc) + dt.timedelta(days=100)

result = cpu.run()

Expand Down

0 comments on commit 0530934

Please sign in to comment.