unittest.FunctionTestCase.assertIsInstance

FunctionTestCase.assertIsInstance(obj, cls, msg=None)

Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message.