

def test_constant_strategy_multioutput():
    X = [[0], [0], [0], [0]]
    y = np.array([[2, 3], [1, 3], [2, 3], [2, 0]])
    n_samples = len(X)
    clf = DummyClassifier(strategy='constant', random_state=0, constant=[1, 0])
    clf.fit(X, y)
    assert_array_equal(clf.predict(clf), np.hstack([np.ones((n_samples, 1)), np.zeros((n_samples, 1))]))
    _check_predict_proba(clf, X, y)

dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/tests/test_dummy.py test_constant_strategy_multioutput/VarMisuse@105/117 `X`->`clf`