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
The documentation for DocTestSuite in doctest have the following signature.
DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None, setUp=None, tearDown=None, checker=None)
But the documentation also talks about optionflags.
Optional arguments setUp, tearDown, and optionflags are the same as for function DocFileSuite() above.
In my opinion, when setUp and trearDown are mentioned in the signature, optionflags should be in the signature too.
I've created PR in case the issue is correct.
optionflags
doctest
The text was updated successfully, but these errors were encountered:
gh-99970 Adding missing optionflags parameter in the documentation …
e477348
…of `doctest` (#99971)
No branches or pull requests
busywhitespace commentedDec 3, 2022
•
edited
The documentation for DocTestSuite in doctest have the following signature.
But the documentation also talks about optionflags.
In my opinion, when setUp and trearDown are mentioned in the signature, optionflags should be in the signature too.
I've created PR in case the issue is correct.
Linked PRs
optionflagsparameter in the documentation ofdoctest#99971The text was updated successfully, but these errors were encountered: