@@ -1387,16 +1387,20 @@ def test_timestamp_cmp() -> None:
1387
1387
)
1388
1388
assert (eq_arr != ne_arr ).all ()
1389
1389
1390
- assert_type (ts == c_np_ndarray_dt64 , np_ndarray_bool )
1391
- eq_arr = check (ts == c_np_ndarray_dt64 , np .ndarray , np .bool_ )
1392
- assert_type (ts != c_np_ndarray_dt64 , np_ndarray_bool )
1393
- ne_arr = check (ts != c_np_ndarray_dt64 , np .ndarray , np .bool_ )
1390
+ eq_arr = check (
1391
+ assert_type (ts == c_np_ndarray_dt64 , np_ndarray_bool ), np .ndarray , np .bool_
1392
+ )
1393
+ ne_arr = check (
1394
+ assert_type (ts != c_np_ndarray_dt64 , np_ndarray_bool ), np .ndarray , np .bool_
1395
+ )
1394
1396
assert (eq_arr != ne_arr ).all ()
1395
1397
# TODO: the following should be 2D-arrays but it doesn't work in mypy
1396
- assert_type (ts == c_np_2darray_dt64 , np_ndarray_bool )
1397
- eq_arr = check (ts == c_np_2darray_dt64 , np_ndarray_bool )
1398
- assert_type (ts != c_np_2darray_dt64 , np_ndarray_bool )
1399
- ne_arr = check (ts != c_np_2darray_dt64 , np_ndarray_bool )
1398
+ eq_arr = check (
1399
+ assert_type (ts == c_np_2darray_dt64 , np_ndarray_bool ), np_ndarray_bool
1400
+ )
1401
+ ne_arr = check (
1402
+ assert_type (ts != c_np_2darray_dt64 , np_ndarray_bool ), np_ndarray_bool
1403
+ )
1400
1404
assert (eq_arr != ne_arr ).all ()
1401
1405
1402
1406
eq_s = check (
0 commit comments