Skip to content

Commit 41fd8b5

Browse files
author
Rohan Jain
committed
fix tests
1 parent 2966932 commit 41fd8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/extension/test_arrow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ def _cast_pointwise_result(self, op_name: str, obj, other, pointwise_result):
906906
assert pa.types.is_decimal(alt_dtype.pyarrow_dtype)
907907
return expected.astype(alt_dtype)
908908

909-
else:
909+
elif op_name not in ["__floordiv__", "__rfloordiv__"]:
910910
pa_expected = pa_expected.cast(orig_pa_type)
911911

912912
pd_expected = type(expected_data._values)(pa_expected)

0 commit comments

Comments
 (0)