August 2018
Beginner
160 pages
4h 8m
English
Pytest has two methods to capture output. Which method is used can be chosen with the --capture command-line flag:
Usually, you don't need to change this, but in a few corner cases, depending on what your code is doing, changing the capture method might be useful.
For completeness, there's also --capture=no, which is the same as ...
Read now
Unlock full access