We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48907c3 commit 2058120Copy full SHA for 2058120
pandas/tests/extension/test_string.py
@@ -22,6 +22,8 @@
22
import numpy as np
23
import pytest
24
25
+from pandas.compat import HAS_PYARROW
26
+
27
from pandas.core.dtypes.base import StorageExtensionDtype
28
29
import pandas as pd
@@ -238,8 +240,12 @@ def test_arith_series_with_array(
238
240
if (
239
241
using_infer_string
242
and all_arithmetic_operators == "__radd__"
- and dtype.na_value is pd.NA
243
+ and (
244
+ dtype.na_value is pd.NA
245
+ and not (not HAS_PYARROW and dtype.storage == "python")
246
+ )
247
):
248
+ # TODO(infer_string)
249
mark = pytest.mark.xfail(
250
reason="The pointwise operation result will be inferred to "
251
"string[nan, pyarrow], which does not match the input dtype"
0 commit comments