Seeing console output from pytest test runs

By default, print() statements are not output to the console when you run a pytest. To see output (e.g. for debugging a test), run your tests with the -s option.

From here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.