pytest-doctestplus icon indicating copy to clipboard operation
pytest-doctestplus copied to clipboard

doctest-skip directive isn't working in docstrings

Open pllim opened this issue 5 years ago • 2 comments

Moved from astropy/astropy#3948 . Originally posted by @bsipocz on July 12, 2015.


Is there a way to enable the directive to work in the docstrings, too?

It works fine in the docs rst files, but apparently not in the docstrings as I get this fail with ccdproc: https://travis-ci.org/astropy/ccdproc/jobs/70630227

pllim avatar Mar 18 '19 16:03 pllim

@tinumide - I think this may also be a side effect for the new directive you work on. While the docstring examples for astroquery are a lower priority than the narrative documentation, getting the bottom of this may be a good enough coding stretch goal for later.

cc @ceb8

bsipocz avatar Dec 23 '20 02:12 bsipocz

We run into this again last week while updating np docstrings, it would be a really nice feature to have

bsipocz avatar May 30 '23 22:05 bsipocz