Skip to content

Commit c83c631

Browse files
GH1336 PR Feedback
1 parent aa846a1 commit c83c631

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_scalars.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,6 +1322,7 @@ def test_timestamp_cmp_index() -> None:
13221322
eq_dt1 = check(assert_type(ts == dt_idx, np_1darray[np.bool]), np_1darray[np.bool])
13231323
ne_dt1 = check(assert_type(ts != dt_idx, np_1darray[np.bool]), np_1darray[np.bool])
13241324
assert (eq_dt1 != ne_dt1).all()
1325+
# there is a mypy bug where ts.__eq__(Index) gets revealed as Any and not np_1darray
13251326
eq_un1 = check(assert_type(ts == un_idx, np_1darray[np.bool]), np_1darray[np.bool]) # type: ignore[assert-type]
13261327
ne_un1 = check(assert_type(ts != un_idx, np_1darray[np.bool]), np_1darray[np.bool]) # type: ignore[assert-type]
13271328
assert (eq_un1 != ne_un1).all()

0 commit comments

Comments
 (0)