Kaydet (Commit) 9eda66da authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry.

üst da2cbb4f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment