@@ -173,8 +173,8 @@ class TestDatetime64SeriesComparison:
173
173
[NaT , NaT , Timedelta ("3 days" )],
174
174
),
175
175
(
176
- [Period ("2011-01" , freq = "M " ), NaT , Period ("2011-03" , freq = "M " )],
177
- [NaT , NaT , Period ("2011-03" , freq = "M " )],
176
+ [Period ("2011-01" , freq = "ME " ), NaT , Period ("2011-03" , freq = "ME " )],
177
+ [NaT , NaT , Period ("2011-03" , freq = "ME " )],
178
178
),
179
179
],
180
180
)
@@ -218,7 +218,7 @@ def test_nat_comparisons(
218
218
[
219
219
[Timestamp ("2011-01-01" ), NaT , Timestamp ("2011-01-03" )],
220
220
[Timedelta ("1 days" ), NaT , Timedelta ("3 days" )],
221
- [Period ("2011-01" , freq = "M " ), NaT , Period ("2011-03" , freq = "M " )],
221
+ [Period ("2011-01" , freq = "ME " ), NaT , Period ("2011-03" , freq = "ME " )],
222
222
],
223
223
)
224
224
@pytest .mark .parametrize ("dtype" , [None , object ])
@@ -1078,7 +1078,7 @@ def test_dt64arr_add_dtlike_raises(self, tz_naive_fixture, box_with_array):
1078
1078
# Note: freq here includes both Tick and non-Tick offsets; this is
1079
1079
# relevant because historically integer-addition was allowed if we had
1080
1080
# a freq.
1081
- @pytest .mark .parametrize ("freq" , ["H" , "D" , "W" , "M " , "MS" , "Q" , "B" , None ])
1081
+ @pytest .mark .parametrize ("freq" , ["H" , "D" , "W" , "ME " , "MS" , "Q" , "B" , None ])
1082
1082
@pytest .mark .parametrize ("dtype" , [None , "uint8" ])
1083
1083
def test_dt64arr_addsub_intlike (
1084
1084
self , dtype , box_with_array , freq , tz_naive_fixture
0 commit comments