Skip to content

Commit 777bdff

Browse files
authored
gh-103716: Add test support requires fork in simple_subprocess (gh-103717)
add requires fork as test case depends on this
1 parent 9c3442c commit 777bdff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_socketserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class ForkingUnixDatagramServer(socketserver.ForkingMixIn,
5656
socketserver.UnixDatagramServer):
5757
pass
5858

59-
59+
@test.support.requires_fork()
6060
@contextlib.contextmanager
6161
def simple_subprocess(testcase):
6262
"""Tests that a custom child process is not waited on (Issue 1540386)"""

0 commit comments

Comments
 (0)