summaryrefslogtreecommitdiff
path: root/Lib/unittest/case.py
diff options
context:
space:
mode:
authorMichael Foord <fuzzyman@voidspace.org.uk>2010-02-05 23:22:37 +0000
committerMichael Foord <fuzzyman@voidspace.org.uk>2010-02-05 23:22:37 +0000
commit757cc4d15f1f6c4571fc58f9aa46a611bc8c00e4 (patch)
tree5a8f1d7ef49c9ad9a0985770c3785c438c6ef81f /Lib/unittest/case.py
parentd0edec38cefa1d69c3026ee0c7268dde5b3554df (diff)
downloadcpython-git-757cc4d15f1f6c4571fc58f9aa46a611bc8c00e4.tar.gz
Correction to docstring correction.
Diffstat (limited to 'Lib/unittest/case.py')
-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 b058b49366..4568e1044c 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: