File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1390,24 +1390,24 @@ def test_timestamp_cmp() -> None:
1390
1390
)
1391
1391
assert (eq_arr != ne_arr ).all ()
1392
1392
1393
- if sys .version_info >= (3 , 11 ) or not MYPY :
1393
+ if sys .version_info >= (3 , 10 ) :
1394
1394
# tests in this block fail with mypy on Python 3.10 in CI only
1395
1395
# I couldn't reproduce the failure locally so skip mypy on Python 3.10
1396
- eq_arr = check (
1396
+ eq1_arr = check (
1397
1397
assert_type (ts == c_np_ndarray_dt64 , np_ndarray_bool ), np .ndarray , np .bool_
1398
1398
)
1399
- ne_arr = check (
1399
+ ne1_arr = check (
1400
1400
assert_type (ts != c_np_ndarray_dt64 , np_ndarray_bool ), np .ndarray , np .bool_
1401
1401
)
1402
- assert (eq_arr != ne_arr ).all ()
1402
+ assert (eq1_arr != ne1_arr ).all ()
1403
1403
# TODO: the following should be 2D-arrays but it doesn't work in mypy
1404
- eq_arr = check (
1404
+ eq1_arr = check (
1405
1405
assert_type (ts == c_np_2darray_dt64 , np_ndarray_bool ), np_ndarray_bool
1406
1406
)
1407
- ne_arr = check (
1407
+ ne1_arr = check (
1408
1408
assert_type (ts != c_np_2darray_dt64 , np_ndarray_bool ), np_ndarray_bool
1409
1409
)
1410
- assert (eq_arr != ne_arr ).all ()
1410
+ assert (eq1_arr != ne1_arr ).all ()
1411
1411
1412
1412
eq_s = check (
1413
1413
assert_type (ts == c_series_timestamp , "pd.Series[bool]" ), pd .Series , np .bool_
You can’t perform that action at this time.
0 commit comments