Skip to content

Commit

Permalink
👹 Feed the hobgoblins (delint).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Feb 19, 2024
1 parent b38d8a1 commit 5fce837
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_schedule.py
Expand Up @@ -18,9 +18,9 @@ def test_delayed_command_order():
delayed commands should be sorted by delay time
"""
delays = [random.randint(0, 99) for x in range(5)]
cmds = sorted(
[schedule.DelayedCommand.after(delay, do_nothing) for delay in delays]
)
cmds = sorted([
schedule.DelayedCommand.after(delay, do_nothing) for delay in delays
])
assert [c.delay.seconds for c in cmds] == sorted(delays)


Expand Down

0 comments on commit 5fce837

Please sign in to comment.