PyDocs

Nav

Development Tools

TestCase.assertNotIsSubclass

unittest

method of TestCase · Added in 3.14 (source)
  • TestCase.assertNotIsSubclass(cls, superclass, msg=None)
Test that cls is (or is not) a subclass of superclass (which can be a class or a tuple of classes, as supported by issubclass()). To check for the exact type, use assertIs(cls, superclass).
0 Examples
No examples for unittest/TestCase.assertNotIsSubclass.
See Also
No see-alsos for unittest/TestCase.assertNotIsSubclass
0 Notes
No notes for TestCase.assertNotIsSubclass