Skip to content

Commit 2ca0f41

Browse files
committed
Skip test_loglevel_propagated_to_subactor on subint forkserver too
1 parent b350aa0 commit 2ca0f41

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

tests/test_spawning.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,14 @@ def test_loglevel_propagated_to_subactor(
194194
reg_addr: tuple,
195195
level: str,
196196
):
197-
if start_method == 'mp_forkserver':
197+
if start_method in ('mp_forkserver', 'subint_forkserver'):
198198
pytest.skip(
199-
"a bug with `capfd` seems to make forkserver capture not work?"
199+
"a bug with `capfd` seems to make forkserver capture not work? "
200+
"(same class as the `mp_forkserver` pre-existing skip — fork-"
201+
"based backends inherit pytest's capfd temp-file fds into the "
202+
"subactor and the IPC handshake reads garbage (`unclean EOF "
203+
"read only X/HUGE_NUMBER bytes`). Work around by using "
204+
"`capsys` instead or skip entirely."
200205
)
201206

202207
async def main():

0 commit comments

Comments
 (0)