mirror of
https://github.com/python/cpython.git
synced 2024-11-26 19:34:19 +08:00
Merged revisions 78007 via svnmerge from
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. ........
This commit is contained in:
parent
b57ac6dc05
commit
b112a41aa3
@ -902,7 +902,7 @@ Test cases
|
|||||||
do_something()
|
do_something()
|
||||||
|
|
||||||
the_exception = cm.exc_value
|
the_exception = cm.exc_value
|
||||||
self.assertEquals(the_exception.error_code, 3)
|
self.assertEqual(the_exception.error_code, 3)
|
||||||
|
|
||||||
.. versionchanged:: 3.1
|
.. versionchanged:: 3.1
|
||||||
Added the ability to use :meth:`assertRaises` as a context manager.
|
Added the ability to use :meth:`assertRaises` as a context manager.
|
||||||
|
Loading…
Reference in New Issue
Block a user