summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/unittest.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 22b2870..69227cf 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -950,7 +950,7 @@ tools which support interactive reporting while tests are being run.
:func:`expectedFailure` decorator.
The default implementation appends a tuple ``(test, formatted_err)`` to the
- instance's ``expected_failures`` attribute, where *formatted_err* is a
+ instance's ``expectedFailures`` attribute, where *formatted_err* is a
formatted traceback derived from *err*.
@@ -960,7 +960,7 @@ tools which support interactive reporting while tests are being run.
decorator, but succeeded.
The default implementation appends the test to the instance's
- ``unexpected_successes`` attribute.
+ ``unexpectedSuccesses`` attribute.
.. _testloader-objects: