bayespy.utils.misc.TestCase.assertIsInstance

TestCase.assertIsInstance(obj, cls, msg=None)[source]

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