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

........
  r78007 | michael.foord | 2010-02-05 23:28:12 +0000 (Fri, 05 Feb 2010) | 1 line

  Minor doc change.
........

Doc/library/unittest.rst

index b4b49116d1266a2f216066afe18947694eb5c17e..fc09aa0dbf3e60aade3107f47997b403ae3fa3ef 100644 (file)
@@ -902,7 +902,7 @@ Test cases
             do_something()
 
         the_exception = cm.exc_value
-        self.assertEquals(the_exception.error_code, 3)
+        self.assertEqual(the_exception.error_code, 3)
 
         .. versionchanged:: 3.1
          Added the ability to use :meth:`assertRaises` as a context manager.