1313
1414from pandas .io .pytables import read_hdf
1515
16+ pytestmark = pytest .mark .xfail (
17+ using_string_dtype (), reason = "TODO(infer_string)" , strict = False
18+ )
19+
1620
1721def test_complex_fixed (tmp_path , setup_path ):
1822 df = DataFrame (
@@ -61,7 +65,6 @@ def test_complex_table(tmp_path, setup_path):
6165 tm .assert_frame_equal (df , reread )
6266
6367
64- @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
6568def test_complex_mixed_fixed (tmp_path , setup_path ):
6669 complex64 = np .array (
6770 [1.0 + 1.0j , 1.0 + 1.0j , 1.0 + 1.0j , 1.0 + 1.0j ], dtype = np .complex64
@@ -85,7 +88,6 @@ def test_complex_mixed_fixed(tmp_path, setup_path):
8588 tm .assert_frame_equal (df , reread )
8689
8790
88- @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
8991def test_complex_mixed_table (tmp_path , setup_path ):
9092 complex64 = np .array (
9193 [1.0 + 1.0j , 1.0 + 1.0j , 1.0 + 1.0j , 1.0 + 1.0j ], dtype = np .complex64
@@ -140,7 +142,6 @@ def test_complex_across_dimensions(tmp_path, setup_path):
140142 tm .assert_frame_equal (df , reread )
141143
142144
143- @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
144145def test_complex_indexing_error (setup_path ):
145146 complex128 = np .array (
146147 [1.0 + 1.0j , 1.0 + 1.0j , 1.0 + 1.0j , 1.0 + 1.0j ], dtype = np .complex128
0 commit comments