diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-12-19 05:04:48 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-12-19 05:04:48 (GMT) |
commit | 080b6f071f6d9d61bf0c6c783c505aea5dfa6ae6 (patch) | |
tree | 420f7e863a7cda2b404ebb9f25b587d6f94aa880 /Doc | |
parent | 6c3f4a8a246cfdec15387b60876ada321ac43074 (diff) | |
download | cpython-080b6f071f6d9d61bf0c6c783c505aea5dfa6ae6.zip cpython-080b6f071f6d9d61bf0c6c783c505aea5dfa6ae6.tar.gz cpython-080b6f071f6d9d61bf0c6c783c505aea5dfa6ae6.tar.bz2 |
#13387: rephrase unclear sentence.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/unittest.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 3d8a84d..787d1a6 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) <assertIs>`. + To check for the exact type, use :func:`assertIs(type(obj), cls) <assertIs>`. .. versionadded:: 2.7 |