Kaydet (Commit) 7fa4a8f1 authored tarafından Georg Brandl's avatar Georg Brandl

Closes #12148: clarify "or's together option flags" in doctest docs.

üst 4dd27a3e
...@@ -865,8 +865,8 @@ and :ref:`doctest-simple-testfile`. ...@@ -865,8 +865,8 @@ and :ref:`doctest-simple-testfile`.
nothing at the end. In verbose mode, the summary is detailed, else the summary nothing at the end. In verbose mode, the summary is detailed, else the summary
is very brief (in fact, empty if all tests passed). is very brief (in fact, empty if all tests passed).
Optional argument *optionflags* or's together option flags. See section Optional argument *optionflags* (default value 0) takes the bitwise-or of
:ref:`doctest-options`. option flags. See section :ref:`doctest-options`.
Optional argument *raise_on_error* defaults to false. If true, an exception is Optional argument *raise_on_error* defaults to false. If true, an exception is
raised upon the first failure or unexpected exception in an example. This raised upon the first failure or unexpected exception in an example. This
...@@ -1097,7 +1097,7 @@ reporting flags specific to :mod:`unittest` support, via this function: ...@@ -1097,7 +1097,7 @@ reporting flags specific to :mod:`unittest` support, via this function:
Set the :mod:`doctest` reporting flags to use. Set the :mod:`doctest` reporting flags to use.
Argument *flags* or's together option flags. See section Argument *flags* takes the bitwise-or of option flags. See section
:ref:`doctest-options`. Only "reporting flags" can be used. :ref:`doctest-options`. Only "reporting flags" can be used.
This is a module-global setting, and affects all future doctests run by module This is a module-global setting, and affects all future doctests run by module
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment