]> granicus.if.org Git - python/commitdiff
Correction to docstring correction.
authorMichael Foord <fuzzyman@voidspace.org.uk>
Fri, 5 Feb 2010 23:22:37 +0000 (23:22 +0000)
committerMichael Foord <fuzzyman@voidspace.org.uk>
Fri, 5 Feb 2010 23:22:37 +0000 (23:22 +0000)
Lib/unittest/case.py

index b058b49366abe7ddccaaa87000a3bba022f73bd7..4568e1044c398530cd9a9f4c66d887d90a8297c4 100644 (file)
@@ -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: