]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)
authorRam Rachum <ram@rachum.com>
Sun, 22 Nov 2020 05:59:48 +0000 (07:59 +0200)
committerGitHub <noreply@github.com>
Sun, 22 Nov 2020 05:59:48 +0000 (00:59 -0500)
Removing 'evaluate' makes it more consistent with other assertX entries.

Doc/library/unittest.rst

index 51e10119d3e8d001237e845d933364f584244d77..0a0993518efddc5ec2359b9b835becb88aab6cfa 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