From: Aditya Hase Date: Tue, 25 Jul 2017 20:59:52 +0000 (+0530) Subject: bpo-30304: Improve TestCase.assertMultiLineEqual docs (GH-2847) X-Git-Tag: v2.7.14rc1~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0666d0e50432e3b0109db96b8e48fb6c496bd49c;p=thirdparty%2FPython%2Fcpython.git bpo-30304: Improve TestCase.assertMultiLineEqual docs (GH-2847) Mention that TestCase.assertMultiLineEqual method is used by default when comparing Unicode string when comparing Unicode strings with assertEqual. --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 3c0b96ff66d6..15765f5ed588 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -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