PyDocs

Nav

Development Tools

TestResult.buffer

unittest

attribute of TestResult · Added in 3.2
If set to true, sys.stdout and sys.stderr will be buffered in between startTest() and stopTest() being called. Collected output will only be echoed onto the real sys.stdout and sys.stderr if the test fails or errors. Any output is also attached to the failure / error message.
0 Examples
No examples for unittest/TestResult.buffer.
See Also
No see-alsos for unittest/TestResult.buffer
0 Notes
No notes for TestResult.buffer