File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
pandas/tests/arrays/string_ Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 4
4
import numpy as np
5
5
import pytest
6
6
7
+ from pandas .compat import HAS_PYARROW
7
8
import pandas .util ._test_decorators as td
8
9
9
10
import pandas as pd
@@ -26,7 +27,12 @@ def test_eq_all_na():
26
27
tm .assert_extension_array_equal (result , expected )
27
28
28
29
29
- def test_config (string_storage , using_infer_string ):
30
+ def test_config (string_storage , request , using_infer_string ):
31
+ if using_infer_string and string_storage == "python" and HAS_PYARROW :
32
+ # string storage with na_value=NaN always uses pyarrow if available
33
+ # -> does not yet honor the option
34
+ request .applymarker (pytest .mark .xfail (reason = "TODO(infer_string)" ))
35
+
30
36
with pd .option_context ("string_storage" , string_storage ):
31
37
assert StringDtype ().storage == string_storage
32
38
result = pd .array (["a" , "b" ])
You can’t perform that action at this time.
0 commit comments