summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Foord <fuzzyman@voidspace.org.uk>2010-02-05 23:22:37 (GMT)
committerMichael Foord <fuzzyman@voidspace.org.uk>2010-02-05 23:22:37 (GMT)
commit757cc4d15f1f6c4571fc58f9aa46a611bc8c00e4 (patch)
tree5a8f1d7ef49c9ad9a0985770c3785c438c6ef81f
parentd0edec38cefa1d69c3026ee0c7268dde5b3554df (diff)
downloadcpython-757cc4d15f1f6c4571fc58f9aa46a611bc8c00e4.zip
cpython-757cc4d15f1f6c4571fc58f9aa46a611bc8c00e4.tar.gz
cpython-757cc4d15f1f6c4571fc58f9aa46a611bc8c00e4.tar.bz2
Correction to docstring correction.
-rw-r--r--Lib/unittest/case.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py
index b058b49..4568e10 100644
--- a/Lib/unittest/case.py
+++ b/Lib/unittest/case.py
@@ -390,7 +390,7 @@ class TestCase(object):
with self.assertRaises(SomeException) as cm:
do_something()
the_exception = cm.exc_value
- self.assertEquals(the_exception.error_code, 3)
+ self.assertEqual(the_exception.error_code, 3)
"""
context = _AssertRaisesContext(excClass, self)
if callableObj is None: