mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Correction to docstring correction.
This commit is contained in:
parent
d0edec38ce
commit
757cc4d15f
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ class TestCase(object):
|
||||||
with self.assertRaises(SomeException) as cm:
|
with self.assertRaises(SomeException) as cm:
|
||||||
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)
|
||||||
"""
|
"""
|
||||||
context = _AssertRaisesContext(excClass, self)
|
context = _AssertRaisesContext(excClass, self)
|
||||||
if callableObj is None:
|
if callableObj is None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue