Skip to content

Commit 257e356

Browse files
: python/tests/test_actors.py: use context mgr for FD +sys.stdout/sys.stderr redirecction (#1950)
Summary: do the stdio redirection with a context manager too (promised follow-up in the preceding diff) ``` async def test_example() -> None: with configured( enable_log_forwarding=True, enable_file_capture=True, tail_log_lines=100 ): with redirected_stdio(capture_stderr=True) as (stdout_path, stderr_path): ... ``` Differential Revision: D87488586
1 parent c56c366 commit 257e356

File tree

1 file changed

+258
-418
lines changed

1 file changed

+258
-418
lines changed

0 commit comments

Comments
 (0)