test_ok1/changelog/5578.bugfix.rst

4 lines
235 B
ReStructuredText

Improve type checking for some exception-raising functions (``pytest.xfail``, ``pytest.skip``, etc)
so they provide better error messages when users meant to use marks (for example ``@pytest.xfail``
instead of ``@pytest.mark.xfail``).