sklearn.utils.testing.assert_in

sklearn.utils.testing.assert_in(member, container, msg=None)[source]

DEPRECATED: This helper is deprecated in version 0.22 and will be removed in version 0.24. Please use “assert” instead

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