summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r--Doc/library/unittest.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 9e8a246..a5c4783 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -985,7 +985,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