W3cubDocs

/scikit-learn

sklearn.utils.testing.assert_in

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

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

© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.utils.testing.assert_in.html