| =========================== test session starts ============================
|
| platform linux -- Python 3.8.10, pytest-6.2.5, py-1.10.0, pluggy-0.13.1
|
| rootdir: /testbed
|
| collected 1 item
|
|
|
| test_example.py F [100%]
|
|
|
| =================================== FAILURES ===================================
|
| _________________________________ test_fail __________________________________
|
|
|
| def test_fail():
|
| > assert False, "This is a test failure"
|
| E AssertionError: This is a test failure
|
| E assert False
|
|
|
| test_example.py:2: AssertionError
|
| =========================== short test summary info ============================
|
| FAILED test_example.py::test_fail - AssertionError: This is a test failure
|
| ========================= 1 failed in 0.01s =========================
|