Skip to content

Commit 533b15d

Browse files
committed
fix: pyright
1 parent 72208c7 commit 533b15d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/series/arithmetic/str/test_add.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,7 @@ def test_add_numpy_array() -> None:
5252
# checking, where our `__radd__` cannot override. At runtime, they return
5353
# `Series`s.
5454
if sys.version_info >= (3, 11):
55-
check(
56-
assert_type(
57-
r0 + left, # pyright: ignore[reportAssertTypeFailure]
58-
"npt.NDArray[np.str_]",
59-
),
60-
pd.Series,
61-
str,
62-
)
55+
check(assert_type(r0 + left, "npt.NDArray[np.str_]"), pd.Series, str)
6356
else:
6457
check(assert_type(r0 + left, Any), pd.Series, str)
6558

0 commit comments

Comments
 (0)