]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-66285: remove redundant `time.sleep` from `test_fork_signal_handling` (GH-99963)
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Sat, 3 Dec 2022 06:15:36 +0000 (11:45 +0530)
committerGitHub <noreply@github.com>
Sat, 3 Dec 2022 06:15:36 +0000 (22:15 -0800)
Lib/test/test_asyncio/test_unix_events.py

index 092edb215854b7e54e452314350ef63197fe131f..309a1cfdb4aa968711b2f5a790bf84736ce4bee0 100644 (file)
@@ -1907,7 +1907,6 @@ class TestFork(unittest.IsolatedAsyncioTestCase):
         def child_main():
             signal.signal(signal.SIGTERM, lambda *args: child_handled.set())
             child_started.set()
-            time.sleep(1)
 
         async def main():
             loop = asyncio.get_running_loop()