Skip to content

Conversation

@seberg
Copy link
Contributor

@seberg seberg commented Nov 7, 2025

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

This means that someone who writes:

.. doctest-skip-all::

   >>> content

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


Closes gh-299, closes gh-291, closes gh-219

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>
Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently we need @seberg and @Cadair locked in the same room more often; Thank you so much for the triple fix!

@bsipocz bsipocz added this to the v1.6.0 milestone Nov 7, 2025
@bsipocz bsipocz merged commit a93f859 into scientific-python:main Nov 7, 2025
19 checks passed
@seberg seberg deleted the fix-directives branch November 7, 2025 14:24
@mkelley mkelley mentioned this pull request Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

2 participants