Skip to content

Commit d2d1774

Browse files
committed
Revert test_to_dict_of_blocks
1 parent 28ce5f0 commit d2d1774

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tests/frame/methods/test_to_dict_of_blocks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import numpy as np
22
import pytest
33

4+
from pandas._config import using_string_dtype
5+
46
from pandas import (
57
DataFrame,
68
MultiIndex,
@@ -25,6 +27,7 @@ def test_no_copy_blocks(self, float_frame):
2527
assert _last_df is not None and not _last_df[column].equals(df[column])
2628

2729

30+
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
2831
def test_to_dict_of_blocks_item_cache():
2932
# Calling to_dict_of_blocks should not poison item_cache
3033
df = DataFrame({"a": [1, 2, 3, 4], "b": ["a", "b", "c", "d"]})

0 commit comments

Comments
 (0)