Skip to content

Commit

Permalink
test: importorskip arrow (unrelated)
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Oct 30, 2023
1 parent 79e57a2 commit 08672d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_2757_attrs_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def test_single_arg_ops(func):
],
)
def test_string_operations_unary(func):
pytest.importorskip("pyarrow")
# Default no attrs
assert (
func(
Expand Down Expand Up @@ -156,6 +157,7 @@ def test_string_operations_unary(func):
],
)
def test_string_operations_unary_with_arg(func, arg):
pytest.importorskip("pyarrow")
# Default no attrs
assert (

Check failure on line 162 in tests/test_2757_attrs_metadata.py

View workflow job for this annotation

GitHub Actions / Linux (3.8, -r requirements-test-minimal.txt)

test_string_operations_unary_with_arg[slice-1] pyarrow.lib.ArrowInvalid: Negative buffer resize: -24 This error occurred while calling ak.str.slice( [['hello', 'world!'], [], ["it's a beautiful day!"]] 1 highlevel = True )
func(
Expand Down Expand Up @@ -197,6 +199,7 @@ def test_string_operations_unary_with_arg(func, arg):
],
)
def test_string_operations_binary(func):
pytest.importorskip("pyarrow")
assert (

Check failure on line 203 in tests/test_2757_attrs_metadata.py

View workflow job for this annotation

GitHub Actions / Linux (3.8, -r requirements-test-minimal.txt)

test_string_operations_binary[join_element_wise] ValueError: ('could not find backend for', (<generator object _impl.<locals>.<genexpr> at 0x7f6b90322890>,)) This error occurred while calling ak.str.join_element_wise( [['hello', 'world!'], [], ["it's a beautiful day!"]] ['hello'] highlevel = True )
func(
[["hello", "world!"], [], ["it's a beautiful day!"]],
Expand Down

0 comments on commit 08672d3

Please sign in to comment.