scientific-python / pytest-doctestplus

Pytest plugin providing advanced doctest features
Other
97 stars 37 forks source link

doctest-skip directive isn't working in docstrings #52

Open pllim opened 5 years ago

pllim commented 5 years ago

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

bsipocz commented 3 years ago

@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 commented 1 year ago

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