25
25
ensure_clean_store ,
26
26
)
27
27
28
+ pytestmark = pytest .mark .xfail (
29
+ using_string_dtype (), reason = "TODO(infer_string)" , strict = False
30
+ )
31
+
28
32
29
33
def _compare_with_tz (a , b ):
30
34
tm .assert_frame_equal (a , b )
@@ -44,7 +48,6 @@ def _compare_with_tz(a, b):
44
48
gettz_pytz = lambda x : x
45
49
46
50
47
- @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
48
51
@pytest .mark .parametrize ("gettz" , [gettz_dateutil , gettz_pytz ])
49
52
def test_append_with_timezones (setup_path , gettz ):
50
53
# as columns
@@ -219,7 +222,6 @@ def test_tseries_select_index_column(setup_path):
219
222
assert rng .tz == result .dt .tz
220
223
221
224
222
- @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
223
225
def test_timezones_fixed_format_frame_non_empty (setup_path ):
224
226
with ensure_clean_store (setup_path ) as store :
225
227
# index
@@ -249,7 +251,6 @@ def test_timezones_fixed_format_frame_non_empty(setup_path):
249
251
tm .assert_frame_equal (result , df )
250
252
251
253
252
- @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
253
254
def test_timezones_fixed_format_empty (setup_path , tz_aware_fixture , frame_or_series ):
254
255
# GH 20594
255
256
@@ -265,7 +266,6 @@ def test_timezones_fixed_format_empty(setup_path, tz_aware_fixture, frame_or_ser
265
266
tm .assert_equal (result , obj )
266
267
267
268
268
- @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
269
269
def test_timezones_fixed_format_series_nonempty (setup_path , tz_aware_fixture ):
270
270
# GH 20594
271
271
@@ -318,7 +318,6 @@ def test_store_timezone(setup_path):
318
318
tm .assert_frame_equal (result , df )
319
319
320
320
321
- @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
322
321
def test_dst_transitions (setup_path ):
323
322
# make sure we are not failing on transitions
324
323
with ensure_clean_store (setup_path ) as store :
@@ -339,7 +338,6 @@ def test_dst_transitions(setup_path):
339
338
tm .assert_frame_equal (result , df )
340
339
341
340
342
- @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
343
341
def test_read_with_where_tz_aware_index (tmp_path , setup_path ):
344
342
# GH 11926
345
343
periods = 10
0 commit comments