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
When running the test use the -s option. All print statements in exampletest.py would get printed on the console when test is run.
-s
exampletest.py
py.test exampletest.py -s