By default, you can not see the print output in the console. Use -s option while running the pytest command. If you have any print statements in your code, they will get printed on the console. pytest -s This can come handy while debugging.