-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
awaiting responsewaiting for more info from the author - will eventually close if they don't respondwaiting for more info from the author - will eventually close if they don't respondtach test
Description
scikit-learn implements a decorator that autogenerates pytest.mark.parametrize: https://scikit-learn.org/stable/modules/generated/sklearn.utils.estimator_checks.parametrize_with_checks.html
from sklearn.linear_model import LogisticRegression
from sklearn.tree import DecisionTreeRegressor
from sklearn.utils.estimator_checks import parametrize_with_checks
@parametrize_with_checks([LogisticRegression(), DecisionTreeRegressor()])
def test_sklearn_compatible_estimator(estimator, check):
check(estimator)when running pytest with the tach plugin enabled, this breaks with an obscure error message
Failed: In test_sklearn_compatible_estimator: 1 parameter sets specified, with different number of ids: 135
if the tach plugin is disabled, then the tests run normally
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
awaiting responsewaiting for more info from the author - will eventually close if they don't respondwaiting for more info from the author - will eventually close if they don't respondtach test