[Python-checkins] bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)

terryjreedy webhook-mailer at python.org
Sun Nov 22 00:59:52 EST 2020


https://github.com/python/cpython/commit/bd8c22e1fa8f8f6e31ee083a8b9321a2c324f02f
commit: bd8c22e1fa8f8f6e31ee083a8b9321a2c324f02f
branch: master
author: Ram Rachum <ram at rachum.com>
committer: terryjreedy <tjreedy at udel.edu>
date: 2020-11-22T00:59:48-05:00
summary:

bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)

Removing 'evaluate' makes it more consistent with other assertX entries.

files:
M Doc/library/unittest.rst

diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 51e10119d3e8d..0a0993518efdd 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -897,8 +897,7 @@ Test cases
    .. method:: assertIs(first, second, msg=None)
                assertIsNot(first, second, msg=None)
 
-      Test that *first* and *second* evaluate (or don't evaluate) to the
-      same object.
+      Test that *first* and *second* are (or are not) the same object.
 
       .. versionadded:: 3.1
 



More information about the Python-checkins mailing list