]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-30304: Improve TestCase.assertMultiLineEqual docs (GH-2847)
authorAditya Hase <aditya@adityahase.com>
Tue, 25 Jul 2017 20:59:52 +0000 (02:29 +0530)
committerMariatta <Mariatta@users.noreply.github.com>
Tue, 25 Jul 2017 20:59:52 +0000 (13:59 -0700)
Mention that TestCase.assertMultiLineEqual method is used by default when comparing Unicode string when comparing Unicode strings with assertEqual.

Doc/library/unittest.rst

index 3c0b96ff66d6f3aeb9e6320ed83fc12fadcb8edc..15765f5ed58892074b5d2289423fc3f122efa648 100644 (file)
@@ -1138,7 +1138,7 @@ Test cases
       Test that the multiline string *first* is equal to the string *second*.
       When not equal a diff of the two strings highlighting the differences
       will be included in the error message. This method is used by default
-      when comparing strings with :meth:`assertEqual`.
+      when comparing Unicode strings with :meth:`assertEqual`.
 
       .. versionadded:: 2.7