Skip to content

Commit 4c786a2

Browse files
committed
fix mypy
1 parent 47e9b5b commit 4c786a2

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
@@ -421,7 +421,7 @@ def test_ndim(self, xp: ModuleType):
421421
def test_mode_not_implemented(self, xp: ModuleType):
422422
a = xp.arange(3)
423423
with pytest.raises(NotImplementedError, match="Only `'constant'`"):
424-
pad(a, 2, mode="edge")
424+
pad(a, 2, mode="edge") # type: ignore[arg-type]
425425

426426
def test_device(self, xp: ModuleType, device: Device):
427427
a = xp.asarray(0.0, device=device)

0 commit comments

Comments
 (0)