mirror of
https://github.com/python/cpython.git
synced 2025-09-16 13:47:31 +00:00
Fix exc_value -> exception in docstring
This commit is contained in:
parent
cfc43e9435
commit
cd4f657809
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ class TestCase(object):
|
|||
do_something()
|
||||
|
||||
The context manager keeps a reference to the exception as
|
||||
the exc_value attribute. This allows you to inspect the
|
||||
the 'exception' attribute. This allows you to inspect the
|
||||
exception after the assertion::
|
||||
|
||||
with self.assertRaises(SomeException) as cm:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue