Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51623b commit 80a61e8Copy full SHA for 80a61e8
1 file changed
Doc/library/unittest.rst
@@ -929,8 +929,7 @@ Test cases
929
930
Test that *obj* is (or is not) an instance of *cls* (which can be a
931
class or a tuple of classes, as supported by :func:`isinstance`).
932
- To check for a specific type (without including superclasses) use
933
- :func:`assertIs(type(obj), cls) <assertIs>`.
+ To check for the exact type, use :func:`assertIs(type(obj), cls) <assertIs>`.
934
935
.. versionadded:: 3.2
936
0 commit comments