Skip to content

Commit df63a86

Browse files
committed
fix nightly
1 parent 580d7c7 commit df63a86

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 object.__new__(cls)
2225+
return super().__new__(cls, *args, **kwargs)
22262226

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

0 commit comments

Comments
 (0)