@@ -31,11 +31,11 @@ def test_add_py_scalar() -> None:
31
31
check (assert_type (r0 + left , "pd.Series[str]" ), pd .Series , str )
32
32
33
33
if TYPE_CHECKING_INVALID_USAGE :
34
- left .add (i ) # type: ignore[arg-type ] # pyright: ignore[reportArgumentType,reportCallIssue]
34
+ left .add (i ) # type: ignore[call-overload ] # pyright: ignore[reportArgumentType,reportCallIssue]
35
35
check (assert_type (left .add (r0 ), "pd.Series[str]" ), pd .Series , str )
36
36
37
37
if TYPE_CHECKING_INVALID_USAGE :
38
- left .radd (i ) # type: ignore[call-overload] # pyright: ignore[reportArgumentType]
38
+ left .radd (i ) # type: ignore[call-overload] # pyright: ignore[reportArgumentType, reportCallIssue ]
39
39
check (assert_type (left .radd (r0 ), "pd.Series[str]" ), pd .Series , str )
40
40
41
41
@@ -61,7 +61,7 @@ def test_add_py_sequence() -> None:
61
61
check (assert_type (left .add (r1 ), "pd.Series[str]" ), pd .Series , str )
62
62
63
63
if TYPE_CHECKING_INVALID_USAGE :
64
- left .radd (i ) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
64
+ left .radd (i ) # type: ignore[arg-type] # pyright: ignore[reportArgumentType,reportCallIssue ]
65
65
check (assert_type (left .radd (r0 ), "pd.Series[str]" ), pd .Series , str )
66
66
check (assert_type (left .radd (r1 ), "pd.Series[str]" ), pd .Series , str )
67
67
@@ -96,7 +96,7 @@ def test_add_numpy_array() -> None:
96
96
check (assert_type (left .add (r0 ), "pd.Series[str]" ), pd .Series , str )
97
97
98
98
if TYPE_CHECKING_INVALID_USAGE :
99
- left .radd (i ) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
99
+ left .radd (i ) # type: ignore[arg-type] # pyright: ignore[reportArgumentType, reportCallIssue ]
100
100
check (assert_type (left .radd (r0 ), "pd.Series[str]" ), pd .Series , str )
101
101
102
102
@@ -118,5 +118,5 @@ def test_add_pd_series() -> None:
118
118
check (assert_type (left .add (r0 ), "pd.Series[str]" ), pd .Series , str )
119
119
120
120
if TYPE_CHECKING_INVALID_USAGE :
121
- left .radd (i ) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
121
+ left .radd (i ) # type: ignore[arg-type] # pyright: ignore[reportArgumentType, reportCallIssue ]
122
122
check (assert_type (left .radd (r0 ), "pd.Series[str]" ), pd .Series , str )
0 commit comments