bayespy.utils.misc.TestCase.assertIs

TestCase.assertIs(expr1, expr2, msg=None)[source]

Just like self.assertTrue(a is b), but with a nicer default message.