From: Ezio Melotti Date: Mon, 19 Dec 2011 05:04:48 +0000 (+0200) Subject: #13387: rephrase unclear sentence. X-Git-Tag: v2.7.3rc1~235 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=080b6f071f6d9d61bf0c6c783c505aea5dfa6ae6;p=python #13387: rephrase unclear sentence. --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 3d8a84db38..787d1a61f4 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -895,8 +895,7 @@ Test cases Test that *obj* is (or is not) an instance of *cls* (which can be a class or a tuple of classes, as supported by :func:`isinstance`). - To check for a specific type (without including superclasses) use - :func:`assertIs(type(obj), cls) `. + To check for the exact type, use :func:`assertIs(type(obj), cls) `. .. versionadded:: 2.7