You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where tests create debug logs to files (Python's logging module). When a test fails, PyTest displays all captured debug logs to stdout.
Requesting a fourth option, "forget"*, for --capture flag that does not output captured output but does preserves and outputs PyTest's own output (results, etc.). I have created PR 1233 with proof of concept patch as well.
* --capure=no did not capture but let the stdout/stderr output straight through to stdout
The text was updated successfully, but these errors were encountered:
Closed PR 1233 based on feedback. Instead of working in the capture area of the code I'll experiment with an additional --tb=style-like flag that will format the captured output.
I have a use case where tests create debug logs to files (Python's logging module). When a test fails, PyTest displays all captured debug logs to stdout.
The way logging is configured:
Requesting a fourth option, "forget"*, for
--capture
flag that does not output captured output but does preserves and outputs PyTest's own output (results, etc.). I have created PR 1233 with proof of concept patch as well.*
--capure=no
did not capture but let the stdout/stderr output straight through to stdoutThe text was updated successfully, but these errors were encountered: