summaryrefslogtreecommitdiffstats
path: root/Doc/library/doctest.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/doctest.rst')
-rw-r--r--Doc/library/doctest.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst
index 2d50a49..75c6ee2 100644
--- a/Doc/library/doctest.rst
+++ b/Doc/library/doctest.rst
@@ -565,12 +565,12 @@ doctest decides whether actual output matches an example's expected output:
When specified, doctests expecting exceptions pass so long as an exception
of the expected type is raised, even if the details
- (message and fully-qualified exception name) don't match.
+ (message and fully qualified exception name) don't match.
For example, an example expecting ``ValueError: 42`` will pass if the actual
exception raised is ``ValueError: 3*14``, but will fail if, say, a
:exc:`TypeError` is raised instead.
- It will also ignore any fully-qualified name included before the
+ It will also ignore any fully qualified name included before the
exception class, which can vary between implementations and versions
of Python and the code/libraries in use.
Hence, all three of these variations will work with the flag specified: