]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 22 Nov 2020 06:24:21 +0000 (22:24 -0800)
committerGitHub <noreply@github.com>
Sun, 22 Nov 2020 06:24:21 +0000 (22:24 -0800)
Removing 'evaluate' makes it more consistent with other assertX entries.
(cherry picked from commit bd8c22e1fa8f8f6e31ee083a8b9321a2c324f02f)

Co-authored-by: Ram Rachum <ram@rachum.com>
Doc/library/unittest.rst

index 523e0e6f6e0f353f8d28e5497f811fc04173bf8a..9fc6620335f88c89fa9d799945bb2c1c0621f1f0 100644 (file)
@@ -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