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

View file

@ -908,7 +908,7 @@ Test cases
with self.assertWarns(SomeWarning):
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*.
The context manager will store the caught warning object in its