summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-07-27 20:15:29 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-07-27 20:15:29 (GMT)
commit9eda66da785cc11dc7e84027990e3108e5aec433 (patch)
tree9ba91e5053ca50b4e5a19a97da16ed8196e4b8a3 /Doc
parentda2cbb4fc81d12f1ee9150e72ec55fde47388a28 (diff)
downloadcpython-9eda66da785cc11dc7e84027990e3108e5aec433.zip
cpython-9eda66da785cc11dc7e84027990e3108e5aec433.tar.gz
cpython-9eda66da785cc11dc7e84027990e3108e5aec433.tar.bz2
Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry.
Diffstat (limited to 'Doc')
-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 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