Skip to content

Commit 39a3d39

Browse files
committed
fix pytest
1 parent df63a86 commit 39a3d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/series/test_series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2222,7 +2222,7 @@ def test_pandera_generic() -> None:
22222222

22232223
class MySeries(pd.Series, Generic[T]):
22242224
def __new__(cls, *args: Any, **kwargs: Any) -> Self:
2225-
return super().__new__(cls, *args, **kwargs)
2225+
return super().__new__(cls) # type: ignore[return-value] # pyright: ignore[reportReturnType]
22262226

22272227
def func() -> MySeries[float]:
22282228
return MySeries[float]([1, 2, 3])

0 commit comments

Comments
 (0)