mirror of https://github.com/nocturn9x/giambio.git
Fixed tests/events.py time calcs
This commit is contained in:
parent
07bbffc556
commit
8e77c40cc1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue