Skip to content

Commit

Permalink
revert unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Nov 14, 2023
1 parent 0c91ae2 commit 2b35f66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pandas/tests/window/test_rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def test_datetimelike_centered_offset_covers_all(
Timestamp("20130101 09:00:02"),
Timestamp("20130101 09:00:02"),
]
).as_unit("ns")
)
df = frame_or_series([1, 1, 1], index=index)

result = df.rolling(window, closed=closed, center=True).sum()
Expand Down Expand Up @@ -296,7 +296,7 @@ def test_datetimelike_nonunique_index_centering(
"2020-01-04",
"2020-01-04",
]
).as_unit("ns")
)

df = frame_or_series([1] * 8, index=index, dtype=float)
expected = frame_or_series(expected, index=index, dtype=float)
Expand Down Expand Up @@ -330,7 +330,7 @@ def test_variable_window_nonunique(closed, expected, frame_or_series):
"2011-01-05",
"2011-01-06",
]
).as_unit("ns")
)

df = frame_or_series(range(10), index=index, dtype=float)
expected = frame_or_series(expected, index=index, dtype=float)
Expand Down

0 comments on commit 2b35f66

Please sign in to comment.