assertNotIsInstance(obj, cls, msg=None)
Test that obj is (or is not) an instance of cls (which can be a class or a tuple of classes, as supported by isinstance()
). To check for the exact type, use assertIs(type(obj), cls)
.
New in version 3.2.
assertNotIsInstance(obj, cls, msg=None)
Test that obj is (or is not) an instance of cls (which can be a class or a tuple of classes, as supported by isinstance()
). To check for the exact type, use assertIs(type(obj), cls)
.
New in version 3.2.
Please login to continue.