Skip to content

Commit 9e2ee21

Browse files
committed
Suppress pyright
1 parent ecc4931 commit 9e2ee21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def test_device(self, xp: ModuleType, device: Device):
199199
# skip instead of xfail in order not to waste time
200200
@pytest.mark.skip_xp_backend(Backend.SPARSE, reason="read-only without .at")
201201
@pytest.mark.filterwarnings("ignore::RuntimeWarning") # overflows, etc.
202-
@hypothesis.settings(
202+
@hypothesis.settings( # pyright: ignore[reportArgumentType]
203203
# The xp and library fixtures are not regenerated between hypothesis iterations
204204
suppress_health_check=[hypothesis.HealthCheck.function_scoped_fixture],
205205
# JAX can take a long time to initialize on the first call

0 commit comments

Comments
 (0)