summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnkit Kumar Pandey <93041495+itsankitkp@users.noreply.github.com>2023-04-23 17:19:16 (GMT)
committerGitHub <noreply@github.com>2023-04-23 17:19:16 (GMT)
commit777bdff0ec4c21176ddf61e07bc75d170bc65d54 (patch)
treedd7d33524d9763b573aca547732487fcf1aa3f18
parent9c3442c0938127788fa59e4ceb80ae78b86fad1d (diff)
downloadcpython-777bdff0ec4c21176ddf61e07bc75d170bc65d54.zip
cpython-777bdff0ec4c21176ddf61e07bc75d170bc65d54.tar.gz
cpython-777bdff0ec4c21176ddf61e07bc75d170bc65d54.tar.bz2
gh-103716: Add test support requires fork in simple_subprocess (gh-103717)
add requires fork as test case depends on this
-rw-r--r--Lib/test/test_socketserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py
index 2fa5069..71ed4c7 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)"""