summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-11-22 06:24:21 (GMT)
committerGitHub <noreply@github.com>2020-11-22 06:24:21 (GMT)
commit4f87126969245861111cc12ca295899944c11b46 (patch)
tree4dafccdbd79fe98d2f91cad36cd5f243eecd8545 /Doc
parentdd20643b144d1c81989d235c3ec51f18fda618c2 (diff)
downloadcpython-4f87126969245861111cc12ca295899944c11b46.zip
cpython-4f87126969245861111cc12ca295899944c11b46.tar.gz
cpython-4f87126969245861111cc12ca295899944c11b46.tar.bz2
bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)
Removing 'evaluate' makes it more consistent with other assertX entries. (cherry picked from commit bd8c22e1fa8f8f6e31ee083a8b9321a2c324f02f) Co-authored-by: Ram Rachum <ram@rachum.com>
Diffstat (limited to 'Doc')
-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 523e0e6..9fc6620 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