sklearn.utils.testing.assert_in

sklearn.utils.testing.assert_in(*args, **kwargs)[source]

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