From 654add480d52d439cc037648c7cbec5d3dd0d0e9 Mon Sep 17 00:00:00 2001 From: Nocturn9x Date: Tue, 16 May 2023 16:04:01 +0200 Subject: [PATCH] Minor change to semaphore test --- tests/semaphores.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/semaphores.py b/tests/semaphores.py index c150110..30dbac6 100644 --- a/tests/semaphores.py +++ b/tests/semaphores.py @@ -2,7 +2,6 @@ import structio async def child(i: int, sem: structio.Semaphore): - print(f"[child {i}] I'm alive!") async with sem: print(f"[child {i}] Entered critical section") await structio.sleep(1) @@ -28,4 +27,4 @@ async def main(n: int, k): # Should exit in about k seconds -structio.run(main, 3, 2) +structio.run(main, 3, 5)