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

Skip to content

Commit b57ac6d

Browse files
author
Michael Foord
committed
Merged revisions 78005 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r78005 | michael.foord | 2010-02-05 23:22:37 +0000 (Fri, 05 Feb 2010) | 1 line Correction to docstring correction. ........
1 parent 1c42b12 commit b57ac6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/unittest/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def assertRaises(self, excClass, callableObj=None, *args, **kwargs):
403403
with self.assertRaises(SomeException) as cm:
404404
do_something()
405405
the_exception = cm.exc_value
406-
self.assertEquals(the_exception.error_code, 3)
406+
self.assertEqual(the_exception.error_code, 3)
407407
"""
408408
context = _AssertRaisesContext(excClass, self, callableObj)
409409
if callableObj is None:

0 commit comments

Comments
 (0)