[1m============================= test session starts ============================== [0m platform linux -- Python 3.7.3, pytest-5.1.2, py-1.8.0, pluggy-0.12.0 rootdir: /home/user/project collected 2 items test_example.py .F [100%] [1m [31m=================================== FAILURES =================================== [0m [1m_________________________________ test_fail _________________________________ [0m def test_fail(): > assert 1 == 0 E assert 1 == 0 test_example.py:5: AssertionError [1m [31m=========================== short test summary info ============================ [0m [1m [31mFAILED test_example.py::test_fail - assert 1 == 0 [0m [1m========================= 1 failed, 1 passed in 0.02s ========================== [0m