Skip to content

Commit d555b74

Browse files
MAINT: Deselect SVM sparse tests failing after sparse config change (#3041)
* MAINT: Deselect SVM sparse tests failing after sparse config change csr_array (from #3029) does not support 1D slicing which test_unsorted_indices and test_sparse_decision_function use. NotImplementedError: We have not yet implemented 1D sparse slices. Signed-off-by: yuejiaointel <yue.jiao@intel.com> * Apply suggestion from @ethanglaser --------- Signed-off-by: yuejiaointel <yue.jiao@intel.com> Co-authored-by: ethanglaser <42726565+ethanglaser@users.noreply.github.com>
1 parent 90d6c7a commit d555b74

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

deselected_tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,10 @@ public:
525525
- svm/tests/test_sparse.py::test_unsorted_indices[csr_matrix] <1.7 win32
526526
- svm/tests/test_sparse.py::test_unsorted_indices[csr_array] <1.7 win32
527527

528+
# scipy 1.10 and sklearn 1.0 incompatibilities lead to 1D sparse slices NotImplementedError
529+
- svm/tests/test_sparse.py::test_unsorted_indices <1.2
530+
- svm/tests/test_sparse.py::test_sparse_decision_function <1.2
531+
528532
# sklearn 1.4 has different absolute and relative tolerances for this test,
529533
# set of available solvers and corresponding sklearnex rules to choose one
530534
# than newer versions resulting in test failure on some systems when

0 commit comments

Comments
 (0)