@@ -723,9 +723,6 @@ def test_maybe_promote_any_numpy_dtype_with_datetimetz(
723
723
fill_dtype = DatetimeTZDtype (tz = tz_aware_fixture )
724
724
boxed , box_dtype = box # read from parametrized fixture
725
725
726
- if dtype .kind == "M" and not boxed :
727
- pytest .xfail ("Comes back as M8 instead of object" )
728
-
729
726
fill_value = pd .Series ([fill_value ], dtype = fill_dtype )[0 ]
730
727
731
728
# filling any numpy dtype with datetimetz casts to object
@@ -847,11 +844,6 @@ def test_maybe_promote_string_with_any(string_dtype, any_numpy_dtype_reduced, bo
847
844
fill_dtype = np .dtype (any_numpy_dtype_reduced )
848
845
boxed , box_dtype = box # read from parametrized fixture
849
846
850
- if boxed and box_dtype is None and fill_dtype .kind == "m" :
851
- pytest .xfail ("wrong missing value marker" )
852
- if boxed and box_dtype is None and fill_dtype .kind == "M" :
853
- pytest .xfail ("wrong missing value marker" )
854
-
855
847
# create array of given dtype; casts "1" to correct dtype
856
848
fill_value = np .array ([1 ], dtype = fill_dtype )[0 ]
857
849
@@ -914,9 +906,6 @@ def test_maybe_promote_object_with_any(object_dtype, any_numpy_dtype_reduced, bo
914
906
fill_dtype = np .dtype (any_numpy_dtype_reduced )
915
907
boxed , box_dtype = box # read from parametrized fixture
916
908
917
- if boxed and box_dtype is None and is_datetime_or_timedelta_dtype (fill_dtype ):
918
- pytest .xfail ("wrong missing value marker" )
919
-
920
909
# create array of given dtype; casts "1" to correct dtype
921
910
fill_value = np .array ([1 ], dtype = fill_dtype )[0 ]
922
911
0 commit comments