[Python-checkins] bpo-30304: Improve TestCase.assertMultiLineEqual docs (GH-2847)

Mariatta webhook-mailer at python.org
Tue Jul 25 17:00:03 EDT 2017


https://github.com/python/cpython/commit/0666d0e50432e3b0109db96b8e48fb6c496bd49c
commit: 0666d0e50432e3b0109db96b8e48fb6c496bd49c
branch: 2.7
author: Aditya Hase <aditya at adityahase.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2017-07-25T13:59:52-07:00
summary:

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.

files:
M Doc/library/unittest.rst

diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 3c0b96ff66d..15765f5ed58 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
 



More information about the Python-checkins mailing list