summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-06 16:57:02 +0200
committerGeorg Brandl <georg@python.org>2014-10-06 16:57:02 +0200
commit1f6afef2eafa9c7ab7293892d65259f48c35bfd8 (patch)
tree7891e70d5668b9011ccb1eda46f6efb8db7e4115
parent033ec051f8b0e49c3c3ebeab6a1a649d81740308 (diff)
parent7fa4a8f15a812a630aa764de584efbe5242c9bb3 (diff)
downloadcpython-git-1f6afef2eafa9c7ab7293892d65259f48c35bfd8.tar.gz
merge with 3.4
-rw-r--r--Doc/library/doctest.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst
index fb63fde3e4..9aa9ea6614 100644
--- a/Doc/library/doctest.rst
+++ b/Doc/library/doctest.rst
@@ -865,8 +865,8 @@ and :ref:`doctest-simple-testfile`.
nothing at the end. In verbose mode, the summary is detailed, else the summary
is very brief (in fact, empty if all tests passed).
- Optional argument *optionflags* or's together option flags. See section
- :ref:`doctest-options`.
+ Optional argument *optionflags* (default value 0) takes the bitwise-or of
+ option flags. See section :ref:`doctest-options`.
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
@@ -1091,7 +1091,7 @@ reporting flags specific to :mod:`unittest` support, via this function:
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.
This is a module-global setting, and affects all future doctests run by module