Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da2cbb4 commit 9eda66dCopy full SHA for 9eda66d
1 file changed
Doc/library/unittest.rst
@@ -908,7 +908,7 @@ Test cases
908
with self.assertWarns(SomeWarning):
909
do_something()
910
911
- When used as a context manager, :meth:`assertRaises` accepts the
+ When used as a context manager, :meth:`assertWarns` accepts the
912
additional keyword argument *msg*.
913
914
The context manager will store the caught warning object in its
0 commit comments