Fixed tests/events.py time calcs

This commit is contained in:
nocturn9x 2020-11-13 13:38:44 +01:00
parent 07bbffc556
commit 8e77c40cc1
1 changed files with 1 additions and 1 deletions

View File

@ -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