From 8e77c40cc1d36b83aad18fbdba556541c7396045 Mon Sep 17 00:00:00 2001 From: nocturn9x Date: Fri, 13 Nov 2020 13:38:44 +0100 Subject: [PATCH] Fixed tests/events.py time calcs --- tests/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/events.py b/tests/events.py index 914574c..0e8cabd 100644 --- a/tests/events.py +++ b/tests/events.py @@ -10,7 +10,7 @@ async def child(notifier: giambio.Event, pause: int): await notifier.pause() end_pause = giambio.clock() - start_total print(f"[child] Parent set the event, exiting in {pause} seconds") - start_sleep = giambio.clock() - start_total + start_sleep = giambio.clock() await giambio.sleep(pause) end_sleep = giambio.clock() - start_sleep end_total = giambio.clock() - start_total