Skip to content

Commit 7dbee8e

Browse files
committed
FIX - deprecation warning in test_docstrings
1 parent 94c6ef3 commit 7dbee8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

skrub/tests/test_docstrings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def filter_errors(errors, method, estimator_cls=None):
183183
@skip_docstring_tests
184184
@pytest.mark.parametrize(
185185
["estimator_cls", "method"],
186-
get_methods_to_validate(),
186+
list(get_methods_to_validate()),
187187
)
188188
def test_estimator_docstrings(estimator_cls, method, request):
189189
base_import_path = estimator_cls.__module__
@@ -216,7 +216,7 @@ def test_estimator_docstrings(estimator_cls, method, request):
216216
@skip_docstring_tests
217217
@pytest.mark.parametrize(
218218
["func", "name"],
219-
get_functions_to_validate(),
219+
list(get_functions_to_validate()),
220220
)
221221
def test_function_docstrings(func, name, request):
222222
import_path = ".".join([func.__module__, name])

0 commit comments

Comments
 (0)