| ============================= test session starts ==============================
|
| platform linux -- Python 3.9.21, pytest-4.6.6.dev9+g8aba863a6, py-1.11.0, pluggy-0.13.1 -- /opt/miniconda3/envs/testbed/bin/python
|
| cachedir: .pytest_cache
|
| rootdir: /tmp
|
| collecting ... collected 3 items
|
|
|
| ../tmp/tmpacnkcglq.py::test_pass PASSED [ 33%]
|
| ../tmp/tmpacnkcglq.py::test_fail FAILED [ 66%]
|
| ../tmp/tmpacnkcglq.py::test_skip FAILED [100%]
|
|
|
| =================================== FAILURES ===================================
|
| __________________________________ test_fail ___________________________________
|
|
|
| def test_fail():
|
| > assert 0
|
| E assert 0
|
|
|
| /tmp/tmpacnkcglq.py:5: AssertionError
|
| __________________________________ test_skip ___________________________________
|
|
|
| def test_skip():
|
| > pytest.skip("testing")
|
| E NameError: name 'pytest' is not defined
|
|
|
| /tmp/tmpacnkcglq.py:7: NameError
|
| ====================== 2 failed, 1 passed in 0.02 seconds ======================
|