diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-12-19 05:07:00 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-12-19 05:07:00 (GMT) |
commit | 5ce6f8ed5c43fc87d1b2759d2bf9b8a180a5b244 (patch) | |
tree | 88dbe7d7dbbb51e49cc73069377de6ee0a9bb210 | |
parent | a699a2d0c1a59aeaea47f50701c40a1cff18e4b6 (diff) | |
parent | 80a61e8d4c551367d288d880d9d59e7e5cf35074 (diff) | |
download | cpython-5ce6f8ed5c43fc87d1b2759d2bf9b8a180a5b244.zip cpython-5ce6f8ed5c43fc87d1b2759d2bf9b8a180a5b244.tar.gz cpython-5ce6f8ed5c43fc87d1b2759d2bf9b8a180a5b244.tar.bz2 |
#13387: merge with 3.2.
-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 45270db..520f2e8 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -933,8 +933,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:: 3.2 |