Skip to content

Commit

Permalink
gh-103716: Add test support requires fork in simple_subprocess (gh-10…
Browse files Browse the repository at this point in the history
…3717)

add requires fork as test case depends on this
  • Loading branch information
itsankitkp authored Apr 23, 2023
1 parent 9c3442c commit 777bdff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_socketserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ForkingUnixDatagramServer(socketserver.ForkingMixIn,
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)"""
Expand Down

0 comments on commit 777bdff

Please sign in to comment.