@@ -484,9 +484,6 @@ def test_maybe_promote_any_numpy_dtype_with_datetimetz(
484
484
fill_dtype = DatetimeTZDtype (tz = tz_aware_fixture )
485
485
boxed , box_dtype = box # read from parametrized fixture
486
486
487
- if dtype .kind == "M" and not boxed :
488
- pytest .xfail ("Comes back as M8 instead of object" )
489
-
490
487
fill_value = pd .Series ([fill_value ], dtype = fill_dtype )[0 ]
491
488
492
489
# filling any numpy dtype with datetimetz casts to object
@@ -572,11 +569,6 @@ def test_maybe_promote_string_with_any(string_dtype, any_numpy_dtype_reduced, bo
572
569
fill_dtype = np .dtype (any_numpy_dtype_reduced )
573
570
boxed , box_dtype = box # read from parametrized fixture
574
571
575
- if boxed and box_dtype is None and fill_dtype .kind == "m" :
576
- pytest .xfail ("wrong missing value marker" )
577
- if boxed and box_dtype is None and fill_dtype .kind == "M" :
578
- pytest .xfail ("wrong missing value marker" )
579
-
580
572
# create array of given dtype; casts "1" to correct dtype
581
573
fill_value = np .array ([1 ], dtype = fill_dtype )[0 ]
582
574
@@ -639,9 +631,6 @@ def test_maybe_promote_object_with_any(object_dtype, any_numpy_dtype_reduced, bo
639
631
fill_dtype = np .dtype (any_numpy_dtype_reduced )
640
632
boxed , box_dtype = box # read from parametrized fixture
641
633
642
- if boxed and box_dtype is None and is_datetime_or_timedelta_dtype (fill_dtype ):
643
- pytest .xfail ("wrong missing value marker" )
644
-
645
634
# create array of given dtype; casts "1" to correct dtype
646
635
fill_value = np .array ([1 ], dtype = fill_dtype )[0 ]
647
636
0 commit comments