-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH/TST: Doctest narrative documentation #14707
Comments
We use |
yes, but that is not testing stuff in |
are there docstrings there? I think the examples in the rst files are run by sphinx, that is how the plots are created here |
yes, there are plenty of them, and a few issues opened about code examples that doesn't work, e.g. here: I'm in the middle to clean up that page, but it's just symptomatic treatment until the doctests are picking those pages up automatically |
Superceded by gh-14970, now that refguide-check can test snippets in RST documenation. |
I can't yet claim to have any detailed oversight of the testing infrastructure of numpy, it definitely seems that a number of narrative documentations are not tested yet, e.g. here:
doc/source/reference/
.I've tried to force doctest to pick up those tests, but so far it's without much success. I got to the point with
pytest-doctest
that the files are found, but for some reasons there are still deselected.The text was updated successfully, but these errors were encountered: