diff --git a/doc/en/how-to/skipping.rst b/doc/en/how-to/skipping.rst index 263732632..156570062 100644 --- a/doc/en/how-to/skipping.rst +++ b/doc/en/how-to/skipping.rst @@ -369,9 +369,12 @@ Here is a simple test file with the several usages: Running it with the report-on-xfail option gives this output: +.. FIXME: Use $ instead of ! again to reenable regendoc once it's fixed: + https://github.com/pytest-dev/pytest/issues/8807 + .. code-block:: pytest - example $ pytest -rx xfail_demo.py + ! pytest -rx xfail_demo.py =========================== test session starts ============================ platform linux -- Python 3.x.y, pytest-6.x.y, py-1.x.y, pluggy-0.x.y cachedir: $PYTHON_PREFIX/.pytest_cache