BUG: Fix directives that do not have any content by seberg · Pull Request #311 · scientific-python/pytest-doctestplus

@seberg @Cadair

The `-all` directives should not take any content. Taking content
is now an error.

This means that someone who writes:

.. ...-skipa-all::

   >>> content

will now fail in sphinx.  Previously the content was expected and then
doctestplus choked on expecting content

Co-authored-by: Stuart Mumford <stuart@cadair.com>

@seberg

@seberg seberg deleted the fix-directives branch

November 7, 2025 14:24

@pllim pllim mentioned this pull request

Jan 20, 2026