diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-07-27 20:15:29 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-07-27 20:15:29 (GMT) |
commit | 9eda66da785cc11dc7e84027990e3108e5aec433 (patch) | |
tree | 9ba91e5053ca50b4e5a19a97da16ed8196e4b8a3 /Doc | |
parent | da2cbb4fc81d12f1ee9150e72ec55fde47388a28 (diff) | |
download | cpython-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.rst | 2 |
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 |