pytest-print adds the printer fixture you can use to print messages to the user (directly to the pytest runner, not stdout)
pip install pytest-print