From: Ankit Kumar Pandey <93041495+itsankitkp@users.noreply.github.com> Date: Sun, 23 Apr 2023 17:19:16 +0000 (+0530) Subject: gh-103716: Add test support requires fork in simple_subprocess (gh-103717) X-Git-Tag: v3.12.0b1~477 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=777bdff0ec4c21176ddf61e07bc75d170bc65d54;p=thirdparty%2FPython%2Fcpython.git gh-103716: Add test support requires fork in simple_subprocess (gh-103717) add requires fork as test case depends on this --- diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index 2fa506942332..71ed4c7d58da 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -56,7 +56,7 @@ if HAVE_UNIX_SOCKETS and HAVE_FORKING: socketserver.UnixDatagramServer): pass - +@test.support.requires_fork() @contextlib.contextmanager def simple_subprocess(testcase): """Tests that a custom child process is not waited on (Issue 1540386)"""