https://github.com/python/cpython/commit/ee6015650017ca145a48c345311a9c481949de71 commit: ee6015650017ca145a48c345311a9c481949de71 branch: main author: Kumar Aditya <59607654+kumaraditya303 at users.noreply.github.com> committer: miss-islington <31488909+miss-islington at users.noreply.github.com> date: 2022年12月02日T22:15:36-08:00 summary: GH-66285: remove redundant `time.sleep` from `test_fork_signal_handling` (GH-99963) files: M Lib/test/test_asyncio/test_unix_events.py diff --git a/Lib/test/test_asyncio/test_unix_events.py b/Lib/test/test_asyncio/test_unix_events.py index 092edb215854..309a1cfdb4aa 100644 --- a/Lib/test/test_asyncio/test_unix_events.py +++ b/Lib/test/test_asyncio/test_unix_events.py @@ -1907,7 +1907,6 @@ def test_fork_signal_handling(self): 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()