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

Removing 'evaluate' makes it more consistent with other assertX entries.
This commit is contained in:
Ram Rachum 2020-11-22 07:59:48 +02:00 committed by GitHub
parent 404a719b51
commit bd8c22e1fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -897,8 +897,7 @@ Test cases
.. method:: assertIs(first, second, msg=None) .. method:: assertIs(first, second, msg=None)
assertIsNot(first, second, msg=None) assertIsNot(first, second, msg=None)
Test that *first* and *second* evaluate (or don't evaluate) to the Test that *first* and *second* are (or are not) the same object.
same object.
.. versionadded:: 3.1 .. versionadded:: 3.1