From: Michael Foord Date: Fri, 5 Feb 2010 23:22:37 +0000 (+0000) Subject: Correction to docstring correction. X-Git-Tag: v2.7a3~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=757cc4d15f1f6c4571fc58f9aa46a611bc8c00e4;p=python Correction to docstring correction. --- 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: