MAINT Hide train_test_split from nose test discovery.
@@ -2059,6 +2059,9 @@ def train_test_split(*arrays, **options):
safe_indexing(a, test)) for a in arrays))
+# Tell nose that train_test_split is not a test
+train_test_split.__test__ = False
+
def _build_repr(self):
# XXX This is copied from BaseEstimator's get_params
cls = self.__class__
