Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b112a41

Browse files
author
Michael Foord
committed
Merged revisions 78007 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r78007 | michael.foord | 2010-02-05 23:28:12 +0000 (Fri, 05 Feb 2010) | 1 line Minor doc change. ........
1 parent b57ac6d commit b112a41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/unittest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ Test cases
902902
do_something()
903903

904904
the_exception = cm.exc_value
905-
self.assertEquals(the_exception.error_code, 3)
905+
self.assertEqual(the_exception.error_code, 3)
906906

907907
.. versionchanged:: 3.1
908908
Added the ability to use :meth:`assertRaises` as a context manager.

0 commit comments

Comments
 (0)