]> granicus.if.org Git - python/commitdiff
Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry.
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 27 Jul 2013 20:15:29 +0000 (16:15 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 27 Jul 2013 20:15:29 +0000 (16:15 -0400)
Doc/library/unittest.rst

index 52347ccc10672c74ae12fe24d7abf43778101946..7671f653fafda8487f67711680b78864af0fcc26 100644 (file)
@@ -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