Skip to content

Commit fccd220

Browse files
update xfail for parser test
1 parent 13fa689 commit fccd220

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/io/parser/common/test_common_basic.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
from pandas._config import using_string_dtype
1717

18+
from pandas.compat import HAS_PYARROW
1819
from pandas.errors import (
1920
EmptyDataError,
2021
ParserError,
@@ -766,7 +767,7 @@ def test_dict_keys_as_names(all_parsers):
766767
tm.assert_frame_equal(result, expected)
767768

768769

769-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
770+
@pytest.mark.xfail(using_string_dtype() and HAS_PYARROW, reason="TODO(infer_string)")
770771
@xfail_pyarrow # UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 0
771772
def test_encoding_surrogatepass(all_parsers):
772773
# GH39017

0 commit comments

Comments
 (0)