Skip to content

Commit 7347366

Browse files
committed
Fix failures in data-apis#267
1 parent cb3c2d6 commit 7347366

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/array_api_extra/_lib/_testing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
See also ..testing for public testing utilities.
66
"""
77

8+
from __future__ import annotations
9+
810
import math
911
from types import ModuleType
1012
from typing import Any, cast

tests/test_funcs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ def test_device(self, xp: ModuleType, device: Device):
196196
y = apply_where(x % 2 == 0, x, self.f1, fill_value=x)
197197
assert get_device(y) == device
198198

199-
@pytest.mark.xfail_xp_backend(Backend.SPARSE, reason="no isdtype")
200199
@pytest.mark.filterwarnings("ignore::RuntimeWarning") # overflows, etc.
201200
@hypothesis.settings(
202201
# The xp and library fixtures are not regenerated between hypothesis iterations

0 commit comments

Comments
 (0)