gh-103716: Add test support requires fork in simple_subprocess (gh-103717)

add requires fork as test case depends on this
This commit is contained in:
Ankit Kumar Pandey 2023-04-23 22:49:16 +05:30 committed by GitHub
parent 9c3442c093
commit 777bdff0ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)"""