| ============================= test session starts ==============================
|
| platform linux -- Python 3.7.3, pytest-5.0.1, py-1.8.0, pluggy-0.12.0
|
| rootdir: /home/user/project
|
| collected 1 item
|
|
|
| test_example.py F [100%]
|
|
|
| =================================== FAILURES ===================================
|
| ________________________________ test_example _________________________________
|
|
|
| def test_example():
|
| x = 1
|
| y = 2
|
| > assert x == y, f"Expected {x} to equal {y}"
|
| E AssertionError: Expected 1 to equal 2
|
| E assert 1 == 2
|
|
|
| test_example.py:5: AssertionError
|
| =========================== 1 failed in 0.02 seconds ===========================
|