[py-dev] py.test - suppressing stdout

Sridhar Ratnakumar sridharr at activestate.com
Thu Jun 25 21:47:02 CEST 2009


In py.test, is there a way to suppress stdout at all?

In my program, if a test fails .. py.test prints a huge amount of text 
(that the program prints to stdout) .. and I had to scroll back a lot to 
see the traceback. This is very inconvenient. In most case, I just want 
to see the traceback along with locals values.




More information about the Pytest-dev mailing list