bayespy.utils.misc.TestCase.assertIn

TestCase.assertIn(member, container, msg=None)[source]

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