PyDocs

Nav

Development Tools

TestCase.assertIsInstance

unittest

method of TestCase · Added in 3.2 (source)
  • TestCase.assertIsInstance(obj, cls, msg=None)
Same as self.assertTrue(isinstance(obj, cls)), with a nicer
default message.
0 Examples
No examples for unittest/TestCase.assertIsInstance.
See Also
No see-alsos for unittest/TestCase.assertIsInstance
0 Notes
No notes for TestCase.assertIsInstance