]> granicus.if.org Git - python/commitdiff
Merged revisions 78005 via svnmerge from
authorMichael Foord <fuzzyman@voidspace.org.uk>
Fri, 5 Feb 2010 23:26:29 +0000 (23:26 +0000)
committerMichael Foord <fuzzyman@voidspace.org.uk>
Fri, 5 Feb 2010 23:26:29 +0000 (23:26 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78005 | michael.foord | 2010-02-05 23:22:37 +0000 (Fri, 05 Feb 2010) | 1 line

  Correction to docstring correction.
........

Lib/unittest/case.py

index 18d977f54bfcf7e584a052d046fd96333683e42e..86326527a93076f6d66f336f57b29296dc244b00 100644 (file)
@@ -403,7 +403,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, callableObj)
         if callableObj is None: