New issue 468: guaranteed print to stdout and stderr
https://bitbucket.org/hpk42/pytest/issue/468/guaranteed-print-to-stdout-and-stderr

m27315:

Occasionally, it is desirable to print directly to stdout and stderr, 
regardless of '-s' switch invocation.  For example, one may want to print an 
occasional debug message during testing without wading through the stdout and 
stderr for every test.  Or, one may want to print a custom message, like 
coverage information at the end of all tests.

Would it be possible to add 2 new pytest methods that always print to stdout 
and stderr bypassing all stdout and stderr capturing?  This would greatly 
simplify test debug and custom report generation.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to