8000 bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348) · Ringdingcoder/cpython@bd8c22e · GitHub
[go: up one dir, main page]

Skip to content

Commit bd8c22e

Browse files
authored
bpo-42391: Clarify documentation of TestCase.assertIs (pythonGH-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
< 3A95 td data-grid-cell-id="diff-14c3c1d897d1e85767303f24626acaa6d1ea1162219c72caa240ef9f533ebe99-904-903-2" data-line-anchor="diff-14c3c1d897d1e85767303f24626acaa6d1ea1162219c72caa240ef9f533ebe99R903" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);padding-right:24px" tabindex="-1" valign="top" class="focusable-grid-cell diff-text-cell right-side-diff-cell left-side">

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)
0