Allow for disabling output capture in `SimpleTestResourceWrapper` to allow using `pdb` in tests.
Open
- Dominant language
- Python
- Stars
- 17
- Forks
- 3
- Avg merge
- 22h 1m
- Merged PRs (30d)
- 3
Description
Currently, the `SimpleTestResourceWrapper` uses `with self._debugging_output.capture_stdout_and_stderr()` to capture stdout and stderr with no way to disable it. This prevents using `pdb` for test debugging because it's unable to pipe stdout/stderr. I have manually patched my sources by adding a `capture: bool = False` option in each of the resource hook functions, but it would be nice to have it supported with your intentional design input.
I could also fork and submit a PR, if needed.
Contributor guide
Assessment
This issue has not been assessed yet.