============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-runner/pytest-0/test_warnings0
collected 1 item

f.py .                                                                   [100%]

=============================== warnings summary ===============================
f.py::test
  /tmp/pytest-of-runner/pytest-0/test_warnings0/f.py:3: UserWarning: WARNING!
    warnings.warn(UserWarning("WARNING!"))

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================= 1 passed, 1 warning in 0.01s =========================