=================================== test session starts =================================== platform linux -- Python 3.6.9, pytest-6.0.0, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/test, inifile: pytest.ini collected 3 items test_example.py .F. [100%] ======================================== FAILURES ========================================= _______________________________________ test_fail ________________________________________ def test_fail(): > assert 1 == 2 E assert 1 == 2 test_example.py:3: AssertionError ================================ short test summary info ================================= FAILED test_example.py::test_fail - assert 1 == 2 ============================== 1 failed, 2 passed in 0.12s ===============================