Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry.

This commit is contained in:
Terry Jan Reedy 2013-07-27 16:15:29 -04:00
parent da2cbb4fc8
commit 9eda66da78
1 changed files with 1 additions and 1 deletions

View File

@ -908,7 +908,7 @@ Test cases
with self.assertWarns(SomeWarning): with self.assertWarns(SomeWarning):
do_something() do_something()
When used as a context manager, :meth:`assertRaises` accepts the When used as a context manager, :meth:`assertWarns` accepts the
additional keyword argument *msg*. additional keyword argument *msg*.
The context manager will store the caught warning object in its The context manager will store the caught warning object in its