Skip to content

Commit e2482cb

Browse files
committed
mypy
1 parent c70a3ce commit e2482cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/series/arithmetic/test_truediv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def test_truediv_py_sequence(left_i: pd.Series) -> None:
103103
check(assert_type(f / left_i, pd.Series), pd.Series)
104104
check(assert_type(c / left_i, pd.Series), pd.Series)
105105
if TYPE_CHECKING_INVALID_USAGE:
106-
_14 = s / left_i # type: ignore[var-annotated] # pyright: ignore[reportOperatorIssue]
106+
_14 = s / left_i # type: ignore[operator] # pyright: ignore[reportOperatorIssue]
107107
assert_type(d / left_i, Never)
108108

109109
check(assert_type(left_i.truediv(b), pd.Series), pd.Series)
@@ -404,7 +404,7 @@ def test_truediv_str_py_str(left_i: pd.Series) -> None:
404404

405405
if TYPE_CHECKING_INVALID_USAGE:
406406
_00 = left_i / s # type: ignore[operator] # pyright:ignore[reportOperatorIssue]
407-
_01 = s / left_i # type: ignore[var-annotated] # pyright:ignore[reportOperatorIssue]
407+
_01 = s / left_i # type: ignore[operator] # pyright:ignore[reportOperatorIssue]
408408

409409
left_i.truediv(s) # type: ignore[arg-type] # pyright: ignore[reportArgumentType,reportCallIssue]
410410
left_i.div(s) # type: ignore[arg-type] # pyright: ignore[reportArgumentType,reportCallIssue]

0 commit comments

Comments
 (0)