@@ -150,6 +150,7 @@ def test_timestamp() -> None:
150
150
ts > pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ), "pd.Series[bool]"
151
151
),
152
152
pd .Series ,
153
+ bool ,
153
154
)
154
155
155
156
check (assert_type (dt .datetime (year = 2000 , month = 1 , day = 1 ) > ts , bool ), bool )
@@ -160,6 +161,7 @@ def test_timestamp() -> None:
160
161
pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ) > ts , "pd.Series[bool]"
161
162
),
162
163
pd .Series ,
164
+ bool ,
163
165
)
164
166
165
167
check (assert_type (ts >= ts , bool ), bool )
@@ -174,6 +176,7 @@ def test_timestamp() -> None:
174
176
ts >= pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ), "pd.Series[bool]"
175
177
),
176
178
pd .Series ,
179
+ bool ,
177
180
)
178
181
179
182
check (assert_type (dt .datetime (year = 2000 , month = 1 , day = 1 ) >= ts , bool ), bool )
@@ -186,6 +189,7 @@ def test_timestamp() -> None:
186
189
pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ) >= ts , "pd.Series[bool]"
187
190
),
188
191
pd .Series ,
192
+ bool ,
189
193
)
190
194
191
195
check (assert_type (ts < ts , bool ), bool )
@@ -198,6 +202,7 @@ def test_timestamp() -> None:
198
202
ts < pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ), "pd.Series[bool]"
199
203
),
200
204
pd .Series ,
205
+ bool ,
201
206
)
202
207
203
208
check (assert_type (dt .datetime (year = 2000 , month = 1 , day = 1 ) < ts , bool ), bool )
@@ -208,6 +213,7 @@ def test_timestamp() -> None:
208
213
pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ) < ts , "pd.Series[bool]"
209
214
),
210
215
pd .Series ,
216
+ bool ,
211
217
)
212
218
213
219
check (assert_type (ts <= ts , bool ), bool )
@@ -222,6 +228,7 @@ def test_timestamp() -> None:
222
228
ts <= pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ), "pd.Series[bool]"
223
229
),
224
230
pd .Series ,
231
+ bool ,
225
232
)
226
233
227
234
check (assert_type (dt .datetime (year = 2000 , month = 1 , day = 1 ) <= ts , bool ), bool )
@@ -234,6 +241,7 @@ def test_timestamp() -> None:
234
241
pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ) <= ts , "pd.Series[bool]"
235
242
),
236
243
pd .Series ,
244
+ bool ,
237
245
)
238
246
239
247
check (assert_type (ts == ts , bool ), bool )
@@ -251,6 +259,7 @@ def test_timestamp() -> None:
251
259
ts == pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ), "pd.Series[bool]"
252
260
),
253
261
pd .Series ,
262
+ bool ,
254
263
)
255
264
256
265
check (assert_type (dt .datetime (year = 2000 , month = 1 , day = 1 ) == ts , bool ), bool )
@@ -263,6 +272,7 @@ def test_timestamp() -> None:
263
272
pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ) == ts , "pd.Series[bool]"
264
273
),
265
274
pd .Series ,
275
+ bool ,
266
276
)
267
277
268
278
check (assert_type (ts != ts , bool ), bool )
@@ -277,6 +287,7 @@ def test_timestamp() -> None:
277
287
ts != pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ), "pd.Series[bool]"
278
288
),
279
289
pd .Series ,
290
+ bool ,
280
291
)
281
292
282
293
check (assert_type (dt .datetime (year = 2000 , month = 1 , day = 1 ) != ts , bool ), bool )
@@ -288,6 +299,7 @@ def test_timestamp() -> None:
288
299
pd .Series ([1 , 2 , 3 ], dtype = "datetime64[ns]" ) != ts , "pd.Series[bool]"
289
300
),
290
301
pd .Series ,
302
+ bool ,
291
303
)
292
304
293
305
# Failures due to NumPy ops returning Any
0 commit comments