File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -279,6 +279,9 @@ def capabilities(xp: ModuleType) -> dict[str, int]:
279279 """
280280 Return patched ``xp.__array_namespace_info__().capabilities()``.
281281
282+ TODO this helper should be eventually removed once all the special cases
283+ it handles are fixed in the respective backends.
284+
282285 Parameters
283286 ----------
284287 xp : array_namespace
Original file line number Diff line number Diff line change @@ -838,9 +838,7 @@ def test_all_equal(self, xp: ModuleType):
838838 xp_assert_equal (nunique (a ), xp .asarray (1 ))
839839
840840 @pytest .mark .xfail_xp_backend (Backend .DASK , reason = "No equal_nan kwarg in unique" )
841- @pytest .mark .xfail_xp_backend (
842- Backend .SPARSE , reason = "Non-compliant equal_nan=True behaviour"
843- )
841+ @pytest .mark .xfail_xp_backend (Backend .SPARSE , reason = "sparse#855" )
844842 def test_nan (self , xp : ModuleType , library : Backend ):
845843 if library .like (Backend .NUMPY ) and NUMPY_VERSION < (1 , 24 ):
846844 pytest .xfail ("NumPy <1.24 has no equal_nan kwarg in unique" )
You can’t perform that action at this time.
0 commit comments