From 5fce83724ac09a5fbce30ad85d035e199aa19b08 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 19 Feb 2024 02:41:01 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B9=20Feed=20the=20hobgoblins=20(delin?= =?UTF-8?q?t).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_schedule.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_schedule.py b/tests/test_schedule.py index e197c57..049e3f8 100644 --- a/tests/test_schedule.py +++ b/tests/test_schedule.py @@ -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)