We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 580d7c7 commit 10bddcdCopy full SHA for 10bddcd
‎tests/series/test_series.py‎
@@ -2222,7 +2222,7 @@ def test_pandera_generic() -> None:
2222
2223
class MySeries(pd.Series, Generic[T]):
2224
def __new__(cls, *args: Any, **kwargs: Any) -> Self:
2225
- return object.__new__(cls)
+ return super().__new__(cls) # type: ignore[return-value] # pyright: ignore[reportReturnType]
2226
2227
def func() -> MySeries[float]:
2228
return MySeries[float]([1, 2, 3])
0 commit comments