summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRam Rachum <ram@rachum.com>2020-11-22 05:59:48 (GMT)
committerGitHub <noreply@github.com>2020-11-22 05:59:48 (GMT)
commitbd8c22e1fa8f8f6e31ee083a8b9321a2c324f02f (patch)
tree119de898ae285cf7da8fbc9a475918afeac7849b
parent404a719b5127602c1a948f8e189ab61cd3f147d8 (diff)
downloadcpython-bd8c22e1fa8f8f6e31ee083a8b9321a2c324f02f.zip
cpython-bd8c22e1fa8f8f6e31ee083a8b9321a2c324f02f.tar.gz
cpython-bd8c22e1fa8f8f6e31ee083a8b9321a2c324f02f.tar.bz2
bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)
Removing 'evaluate' makes it more consistent with other assertX entries.
-rw-r--r--Doc/library/unittest.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 51e1011..0a09935 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -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