diff options
Diffstat (limited to 'Doc/library/unittest.rst')
-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 990bd48..5833868 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -929,8 +929,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 |