Skip to content

Commit dbef919

Browse files
committed
fix: cuda stream type test
1 parent 21f7e82 commit dbef919

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_dlpack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ def test_cuda_context_flags() -> None:
546546
assert ctx.cuda_stream == 1234
547547

548548
with pytest.raises(TypeError, match="integer or None"):
549-
av.video.frame.CudaContext(cuda_stream="1234")
549+
av.video.frame.CudaContext(cuda_stream="1234") # type: ignore[arg-type]
550550

551551
with pytest.raises(ValueError, match="non-negative"):
552552
av.video.frame.CudaContext(cuda_stream=-1)

0 commit comments

Comments
 (0)