Sometimes I want to just insert some print statements in my code, and see what gets printed out when I exercise it. My usual way to \"exercise\" it is with existing pytest t
The other answers don't work. The only way to see the captured output is using the following flag:
pytest --show-capture all