

@ignore_warnings
def test_1d_input():
    X = iris.data[:, 0]
    X_2d = iris.data[:, 0].reshape(((- 1), 1))
    y = iris.target
    for name in FOREST_ESTIMATORS:
        (yield (check_1d_input, name, X, X_2d, X_2d))

dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/ensemble/tests/test_forest.py test_1d_input/VarMisuse@70/88 `y`->`X_2d`