We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47e9b5b commit 4c786a2Copy full SHA for 4c786a2
tests/test_funcs.py
@@ -421,7 +421,7 @@ def test_ndim(self, xp: ModuleType):
421
def test_mode_not_implemented(self, xp: ModuleType):
422
a = xp.arange(3)
423
with pytest.raises(NotImplementedError, match="Only `'constant'`"):
424
- pad(a, 2, mode="edge")
+ pad(a, 2, mode="edge") # type: ignore[arg-type]
425
426
def test_device(self, xp: ModuleType, device: Device):
427
a = xp.asarray(0.0, device=device)
0 commit comments