Test multiple directives by mkelley · Pull Request #316 · scientific-python/pytest-doctestplus

added 3 commits

January 2, 2026 08:50
When there are two directives in series, the first one will not have
any content.  As a result, self.content[0] will raise an error.
DoctestSkipDirective inherits from SphinxDirective, which does not
render empty blocks when content is empty.

@pllim pllim added this to the v1.6.1 milestone

Jan 2, 2026

@bsipocz

@bsipocz bsipocz linked an issue

Jan 8, 2026

that may be closed by this pull request

@mkelley mkelley deleted the test-multiple-directives-2026.01 branch

January 8, 2026 13:25