diff options
author | Georg Brandl <georg@python.org> | 2010-08-03 12:06:29 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-03 12:06:29 (GMT) |
commit | 7cb13196882e49d9d02f1b9eb7f9980cda77fd0c (patch) | |
tree | 779e11d7fdf0ad43a4dca32e978d6fdee6c4e4ce /Doc/library/doctest.rst | |
parent | e8e02e3b5bcb28ff76975c3f9a29af874e005f81 (diff) | |
download | cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.zip cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.tar.gz cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.tar.bz2 |
Terminology fix: exceptions are raised, except in generator.throw().
Diffstat (limited to 'Doc/library/doctest.rst')
-rw-r--r-- | Doc/library/doctest.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst index 420c73e..2b7ca7c 100644 --- a/Doc/library/doctest.rst +++ b/Doc/library/doctest.rst @@ -1673,7 +1673,7 @@ There are two exceptions that may be raised by :class:`DebugRunner` instances: .. exception:: DocTestFailure(test, example, got) - An exception thrown by :class:`DocTestRunner` to signal that a doctest example's + An exception raised by :class:`DocTestRunner` to signal that a doctest example's actual output did not match its expected output. The constructor arguments are used to initialize the member variables of the same names. @@ -1697,9 +1697,9 @@ There are two exceptions that may be raised by :class:`DebugRunner` instances: .. exception:: UnexpectedException(test, example, exc_info) - An exception thrown by :class:`DocTestRunner` to signal that a doctest example - raised an unexpected exception. The constructor arguments are used to - initialize the member variables of the same names. + An exception raised by :class:`DocTestRunner` to signal that a doctest + example raised an unexpected exception. The constructor arguments are used + to initialize the member variables of the same names. :exc:`UnexpectedException` defines the following member variables: |