Skip to content

Commit 1bf677e

Browse files
committed
update xfail
1 parent b169de7 commit 1bf677e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/extension/test_string.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def test_arith_series_with_array(
260260
def test_loc_setitem_with_expansion_preserves_ea_index_dtype(
261261
self, data, request, using_infer_string
262262
):
263-
if not using_infer_string:
263+
if not using_infer_string and data.dtype.storage == "python":
264264
mark = pytest.mark.xfail(reason="Casts to object")
265265
request.applymarker(mark)
266266
super().test_loc_setitem_with_expansion_preserves_ea_index_dtype(data)

0 commit comments

Comments
 (0)