Skip to content
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

How to specify doctestfilters for the function doctest? #1364

Closed
ThomasBreuer opened this issue Jul 13, 2020 · 1 comment · Fixed by #1435
Closed

How to specify doctestfilters for the function doctest? #1364

ThomasBreuer opened this issue Jul 13, 2020 · 1 comment · Fixed by #1435
Milestone

Comments

@ThomasBreuer
Copy link

The function makedocs supports the keyword argument doctestfilters.
This is a documented feature, and it works nicely when one runs the doctests as one step of processing the documentation.
However, if one wants to run the doctests by calling doctest in a @testset then doctestfilters seem to be not supported; doctest calls makedocs but does not supply keyword arguments such as doctestfilters.

@mortenpi
Copy link
Member

That sounds like an oversight on my part -- we should at least allow passing doctestfilters as an argument to doctest, that would then get passed on makedocs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants