Skip to content

Commit d445cba

Browse files
: python/tests/test_actors.py: use context mgr for FD +sys.stdout/sys.stderr redirecction
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 02db5a6 commit d445cba

File tree

1 file changed

+369
-547
lines changed

1 file changed

+369
-547
lines changed

0 commit comments

Comments
 (0)