From 2ca0f41e61cbb980b5a0d7863a4b0f801552e95f Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 24 Apr 2026 21:47:46 -0400 Subject: [PATCH] Skip `test_loglevel_propagated_to_subactor` on subint forkserver too --- tests/test_spawning.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/test_spawning.py b/tests/test_spawning.py index 7f3421fe..b0e8a88d 100644 --- a/tests/test_spawning.py +++ b/tests/test_spawning.py @@ -194,9 +194,14 @@ def test_loglevel_propagated_to_subactor( reg_addr: tuple, level: str, ): - if start_method == 'mp_forkserver': + if start_method in ('mp_forkserver', 'subint_forkserver'): pytest.skip( - "a bug with `capfd` seems to make forkserver capture not work?" + "a bug with `capfd` seems to make forkserver capture not work? " + "(same class as the `mp_forkserver` pre-existing skip — fork-" + "based backends inherit pytest's capfd temp-file fds into the " + "subactor and the IPC handshake reads garbage (`unclean EOF " + "read only X/HUGE_NUMBER bytes`). Work around by using " + "`capsys` instead or skip entirely." ) async def main():