Skip to content

Commit

Permalink
Add pytest.mark.numpy to all test_cuda and test_cuda_numba_interop tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Jun 28, 2024
1 parent 4874133 commit 6693e93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion python/pyarrow/tests/test_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
import pytest

import pyarrow as pa
import numpy as np
try:
import numpy as np
except ImportError:
pytestmark = pytest.mark.numpy


cuda = pytest.importorskip("pyarrow.cuda")
Expand Down
5 changes: 4 additions & 1 deletion python/pyarrow/tests/test_cuda_numba_interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@

import pytest
import pyarrow as pa
import numpy as np
try:
import numpy as np
except ImportError:
pytestmark = pytest.mark.numpy

dtypes = ['uint8', 'int16', 'float32']
cuda = pytest.importorskip("pyarrow.cuda")
Expand Down

0 comments on commit 6693e93

Please sign in to comment.