We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test_loglevel_propagated_to_subactor
1 parent b350aa0 commit 2ca0f41Copy full SHA for 2ca0f41
1 file changed
tests/test_spawning.py
@@ -194,9 +194,14 @@ def test_loglevel_propagated_to_subactor(
194
reg_addr: tuple,
195
level: str,
196
):
197
- if start_method == 'mp_forkserver':
+ if start_method in ('mp_forkserver', 'subint_forkserver'):
198
pytest.skip(
199
- "a bug with `capfd` seems to make forkserver capture not work?"
+ "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."
205
)
206
207
async def main():
0 commit comments