Skip to content

Commit 7131d94

Browse files
authored
DOC Add note about using _get_namespace_device_dtype_ids (scikit-learn#31180)
1 parent 5943ab2 commit 7131d94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sklearn/utils/_array_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ def yield_namespace_device_dtype_combinations(include_numpy_namespaces=True):
6060
"""Yield supported namespace, device, dtype tuples for testing.
6161
6262
Use this to test that an estimator works with all combinations.
63+
Use in conjunction with `ids=_get_namespace_device_dtype_ids` to give
64+
clearer pytest parametrization ID names.
6365
6466
Parameters
6567
----------

0 commit comments

Comments
 (0)