Skip to content

Commit bd8c22e

Browse files
authored
bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)
Removing 'evaluate' makes it more consistent with other assertX entries.
1 parent 404a719 commit bd8c22e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/unittest.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -897,8 +897,7 @@ Test cases
897897
.. method:: assertIs(first, second, msg=None)
898898
assertIsNot(first, second, msg=None)
899899

900-
Test that *first* and *second* evaluate (or don't evaluate) to the
901-
same object.
900+
Test that *first* and *second* are (or are not) the same object.
902901

903902
.. versionadded:: 3.1
904903

0 commit comments

Comments
 (0)