From 9eda66da785cc11dc7e84027990e3108e5aec433 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 27 Jul 2013 16:15:29 -0400 Subject: Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry. --- Doc/library/unittest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 52347cc..7671f65 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 -- cgit v0.12