Skip to content

Commit d840c05

Browse files
authored
TST Don't parameterize tests using non-Collection iterables (scikit-learn#34448)
1 parent 54915bb commit d840c05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sklearn/utils/estimator_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ def _checks_generator(estimators, legacy, expected_failed_checks):
740740

741741
return pytest.mark.parametrize(
742742
"estimator, check",
743-
_checks_generator(estimators, legacy, expected_failed_checks),
743+
list(_checks_generator(estimators, legacy, expected_failed_checks)),
744744
ids=_get_check_estimator_ids,
745745
)
746746

0 commit comments

Comments
 (0)