mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Minor doc change.
This commit is contained in:
parent
757cc4d15f
commit
ba7732ea6a
1 changed files with 1 additions and 1 deletions
|
@ -905,7 +905,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:: 2.7
|
||||
Added the ability to use :meth:`assertRaises` as a context manager.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue