[Python-checkins] gh-99970 Adding missing `optionflags` parameter in the documentation of `doctest` (#99971)
kumaraditya303
webhook-mailer at python.org
Sat Dec 10 05:12:46 EST 2022
https://github.com/python/cpython/commit/e477348f36eff3f63ba509582622ea620fa9ae5b
commit: e477348f36eff3f63ba509582622ea620fa9ae5b
branch: main
author: busywhitespace <busywhitespace at tuta.io>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2022-12-10T15:42:40+05:30
summary:
gh-99970 Adding missing `optionflags` parameter in the documentation of `doctest` (#99971)
files:
M Doc/library/doctest.rst
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst
index b6dd7f7e1232..d6e4dca08606 100644
--- a/Doc/library/doctest.rst
+++ b/Doc/library/doctest.rst
@@ -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`.
More information about the Python-checkins
mailing list