From 080b6f071f6d9d61bf0c6c783c505aea5dfa6ae6 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 19 Dec 2011 07:04:48 +0200 Subject: [PATCH] #13387: rephrase unclear sentence. --- Doc/library/unittest.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.50.1