Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 466d954

Browse files
ogriselbetatim
andauthored
MAINT remove unnecessary XFAIL cases for check_array_api_string_and_numeric_inputs (#34439)
Co-authored-by: Tim Head <[email protected]>
1 parent 5cd6db9 commit 466d954

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

sklearn/utils/_test_common/instance_generator.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,10 +1014,6 @@ def _yield_instances_for_check(check, estimator_orig):
10141014
"check_requires_y_none": "Doesn't fail gracefully",
10151015
},
10161016
HalvingGridSearchCV: {
1017-
"check_array_api_mixed_inputs": "mixed array API input support not added yet",
1018-
"check_array_api_string_and_numeric_inputs": (
1019-
"mixed string and numeric array API input support not added yet"
1020-
),
10211017
"check_fit2d_1sample": (
10221018
"Fail during parameter check since min/max resources requires more samples"
10231019
),
@@ -1028,10 +1024,6 @@ def _yield_instances_for_check(check, estimator_orig):
10281024
"check_requires_y_none": "Doesn't fail gracefully",
10291025
},
10301026
HalvingRandomSearchCV: {
1031-
"check_array_api_mixed_inputs": "mixed array API input support not added yet",
1032-
"check_array_api_string_and_numeric_inputs": (
1033-
"mixed string and numeric array API input support not added yet"
1034-
),
10351027
"check_fit2d_1sample": (
10361028
"Fail during parameter check since min/max resources requires more samples"
10371029
),
@@ -1183,9 +1175,6 @@ def _yield_instances_for_check(check, estimator_orig):
11831175
},
11841176
PCA: {
11851177
"check_array_api_mixed_inputs": "mixed array API input support not added yet",
1186-
"check_array_api_string_and_numeric_inputs": (
1187-
"mixed string and numeric array API input support not added yet"
1188-
),
11891178
# TODO: see gh-33205 for details
11901179
"check_array_api_input": "`linalg.inv` fails because input is singular",
11911180
"check_array_api_same_namespace": "check_same_namespace not yet added",
@@ -1211,9 +1200,6 @@ def _yield_instances_for_check(check, estimator_orig):
12111200
},
12121201
PoissonRegressor: {
12131202
"check_array_api_mixed_inputs": "mixed array API input support not added yet",
1214-
"check_array_api_string_and_numeric_inputs": (
1215-
"mixed string and numeric array API input support not added yet"
1216-
),
12171203
"check_array_api_same_namespace": "check_same_namespace not yet added",
12181204
},
12191205
PolynomialFeatures: {

0 commit comments

Comments
 (0)