Skip to content

Commit 903f7e6

Browse files
GH1294 Fix formatting and tests
1 parent c07bab7 commit 903f7e6

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

pandas-stubs/core/series.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1752,7 +1752,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
17521752
) -> TimedeltaSeries: ...
17531753
@overload
17541754
def __rmul__(self, other: num | _ListLike | Series) -> Series: ...
1755-
def __rmatmul__(self, other: num | _ListLike | Series[S1]) -> Series[S1]: ...
17561755
def __rpow__(self, other: num | _ListLike | Series[S1]) -> Series[S1]: ...
17571756
# ignore needed for mypy as we want different results based on the arguments
17581757
@overload # type: ignore[override]

tests/series/test_series.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,12 +1521,12 @@ def test_types_bfill() -> None:
15211521
def test_types_ewm() -> None:
15221522
s1 = pd.Series([1, 2, 3])
15231523
check(
1524-
assert_type(
1525-
s1.ewm(com=0.3, min_periods=0, adjust=False, ignore_na=True),
1526-
"ExponentialMovingWindow[pd.Series]",
1527-
),
1528-
ExponentialMovingWindow,
1529-
)
1524+
assert_type(
1525+
s1.ewm(com=0.3, min_periods=0, adjust=False, ignore_na=True),
1526+
"ExponentialMovingWindow[pd.Series]",
1527+
),
1528+
ExponentialMovingWindow,
1529+
)
15301530
check(
15311531
assert_type(
15321532
s1.ewm(com=0.3, min_periods=0, adjust=False, ignore_na=True),

0 commit comments

Comments
 (0)