Skip to content

Commit ba1ad7d

Browse files
authored
Opt-out from regendoc for problematic example (#8810)
* Opt-out from regendoc for problematic example See #8807 * Add comment
1 parent c4c3b6d commit ba1ad7d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/en/how-to/skipping.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,12 @@ Here is a simple test file with the several usages:
369369

370370
Running it with the report-on-xfail option gives this output:
371371

372+
.. FIXME: Use $ instead of ! again to reenable regendoc once it's fixed:
373+
https://github.com/pytest-dev/pytest/issues/8807
374+
372375
.. code-block:: pytest
373376
374-
example $ pytest -rx xfail_demo.py
377+
! pytest -rx xfail_demo.py
375378
=========================== test session starts ============================
376379
platform linux -- Python 3.x.y, pytest-6.x.y, py-1.x.y, pluggy-0.x.y
377380
cachedir: $PYTHON_PREFIX/.pytest_cache

0 commit comments

Comments
 (0)