summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-03-23 22:29:45 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-03-23 22:29:45 (GMT)
commitcb2b0e45d4384a45e0852e8e7eba958a70949abb (patch)
tree7825fd2ff823b14b46ee04a3c4eb4eabc0c530a5 /Doc
parent692428e77f467a2f2d4cebfff59fb0b5f9099547 (diff)
downloadcpython-cb2b0e45d4384a45e0852e8e7eba958a70949abb.zip
cpython-cb2b0e45d4384a45e0852e8e7eba958a70949abb.tar.gz
cpython-cb2b0e45d4384a45e0852e8e7eba958a70949abb.tar.bz2
comply with the evilJavaNamingScheme for attribute names
It seems my love of PEP 8 overrode the need for consistentcy
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: