From: Terry Jan Reedy Date: Sat, 27 Jul 2013 20:15:29 +0000 (-0400) Subject: Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry. X-Git-Tag: v3.4.0a1~60^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9eda66da785cc11dc7e84027990e3108e5aec433;p=thirdparty%2FPython%2Fcpython.git Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry. --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 52347ccc1067..7671f653fafd 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -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