gh-99970 Adding missing optionflags parameter in the documentation of doctest (#99971)

This commit is contained in:
busywhitespace 2022-12-10 11:12:40 +01:00 committed by GitHub
parent a9bad4d284
commit e477348f36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1057,7 +1057,7 @@ from text files and modules with doctests:
from a text file using :func:`DocFileSuite`.
.. function:: DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None, setUp=None, tearDown=None, checker=None)
.. function:: DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None, setUp=None, tearDown=None, optionflags=0, checker=None)
Convert doctest tests for a module to a :class:`unittest.TestSuite`.