-
Notifications
You must be signed in to change notification settings - Fork 39
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
Why is there testsetup but no testcleanup? #164
Comments
Pytest itself doesn't support sphinx's doctest (pytest-dev/pytest#2514) but from this ticket I see there is a pytest-sphinx plugin (https://github.com/thisch/pytest-sphinx). Maybe we should point to that alternative in the README for people willing to use |
So, can I use |
I am not sure if this is duplicate of #106. I have no desire to use |
pytest-doctestplus does not know about sphinx's directives, so |
Now I am confused... |
Oh OK, I think this is because you are using the
just tells Sphinx to not render those lines. So we could do the same with |
Confusing but works is better than nothing, right? 😅 We can try to explain in the README here... 🤷 |
https://github.com/astropy/pytest-doctestplus/blob/16d6d4527439516d5a370b34941e4f1f549268f5/pytest_doctestplus/sphinx/doctestplus.py#L54
There appears to be no support for
testcleanup
directive even though this package is supposed to expand on the existingdoctest
module from upstream. As a result: astropy/astropy#12150 (comment)The text was updated successfully, but these errors were encountered: