@@ -1097,7 +1097,7 @@ def test_train_test_split():
1097
1097
1098
1098
1099
1099
@ignore_warnings
1100
- def train_test_split_pandas ():
1100
+ def test_train_test_split_pandas ():
1101
1101
# check train_test_split doesn't destroy pandas dataframe
1102
1102
types = [MockDataFrame ]
1103
1103
try :
@@ -1113,7 +1113,7 @@ def train_test_split_pandas():
1113
1113
assert isinstance (X_test , InputFeatureType )
1114
1114
1115
1115
1116
- def train_test_split_sparse ():
1116
+ def test_train_test_split_sparse ():
1117
1117
# check that train_test_split converts scipy sparse matrices
1118
1118
# to csr, as stated in the documentation
1119
1119
X = np .arange (100 ).reshape ((10 , 10 ))
@@ -1125,7 +1125,7 @@ def train_test_split_sparse():
1125
1125
assert isinstance (X_test , csr_matrix )
1126
1126
1127
1127
1128
- def train_test_split_mock_pandas ():
1128
+ def test_train_test_split_mock_pandas ():
1129
1129
# X mock dataframe
1130
1130
X_df = MockDataFrame (X )
1131
1131
X_train , X_test = train_test_split (X_df )
@@ -1134,7 +1134,7 @@ def train_test_split_mock_pandas():
1134
1134
X_train_arr , X_test_arr = train_test_split (X_df )
1135
1135
1136
1136
1137
- def train_test_split_list_input ():
1137
+ def test_train_test_split_list_input ():
1138
1138
# Check that when y is a list / list of string labels, it works.
1139
1139
X = np .ones (7 )
1140
1140
y1 = ['1' ] * 4 + ['0' ] * 3
0 commit comments