============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /home/runner/work/pygments-pytest/pygments-pytest/.tox/push/bin/python
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-runner/pytest-0/test_different_test_types1
collecting ... collected 8 items

f.py::test_answer FAILED                                                 [ 12%]
f.py::test_fail_stack FAILED                                             [ 25%]
f.py::test PASSED                                                        [ 37%]
f.py::test_skip SKIPPED                                                  [ 50%]
f.py::test_xfail XFAIL                                                   [ 62%]
f.py::test_Xxfail XPASS                                                  [ 75%]
f.py::test_error ERROR                                                   [ 87%]
f.py::test_warning PASSED                                                [100%]

==================================== ERRORS ====================================
_________________________ ERROR at setup of test_error _________________________

    @pytest.fixture
    def s():
>       raise Exception('boom!')
E       Exception: boom!

f.py:30: Exception
=================================== FAILURES ===================================
_________________________________ test_answer __________________________________

    def test_answer():
>       assert inc(3) == 5
E       assert 4 == 5
E         +4
E         -5

f.py:8: AssertionError
_______________________________ test_fail_stack ________________________________

    def test_fail_stack():
>       fail2()

f.py:14: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def fail2():
>       raise RuntimeError('error!')
E       RuntimeError: error!

f.py:11: RuntimeError
=============================== warnings summary ===============================
f.py::test_warning
  /tmp/pytest-of-runner/pytest-0/test_different_test_types1/f.py:36: UserWarning: WARNING!
    warnings.warn(UserWarning("WARNING!"))

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED f.py::test_answer - assert 4 == 5
FAILED f.py::test_fail_stack - RuntimeError: error!
ERROR f.py::test_error - Exception: boom!
= 2 failed, 2 passed, 1 skipped, 1 xfailed, 1 xpassed, 1 warning, 1 error in 0.03s =