Skip to content

Commit cb56243

Browse files
committed
More strict xfail
1 parent 55ea98b commit cb56243

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/io/pytables/test_store.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
timedelta_range,
2626
)
2727
import pandas._testing as tm
28+
from pandas.conftest import has_pyarrow
2829
from pandas.tests.io.pytables.common import (
2930
_maybe_remove,
3031
ensure_clean_store,
@@ -385,7 +386,7 @@ def test_to_hdf_with_min_itemsize(tmp_path, setup_path):
385386

386387

387388
@pytest.mark.xfail(
388-
using_string_dtype(),
389+
using_string_dtype() and has_pyarrow,
389390
reason="TODO(infer_string): can't encode '\ud800': surrogates not allowed",
390391
)
391392
@pytest.mark.parametrize("format", ["fixed", "table"])

0 commit comments

Comments
 (0)