Skip to content

Commit eb34348

Browse files
committed
for Travis
1 parent a569538 commit eb34348

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pandas/_libs/window.pyx

-2
Original file line numberDiff line numberDiff line change
@@ -1439,8 +1439,6 @@ def roll_generic(ndarray[float64_t, cast=True] input,
14391439

14401440
output = np.empty(N, dtype=float)
14411441

1442-
1443-
14441442
if is_variable:
14451443

14461444
# variable window

pandas/tests/test_window.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def test_constructor_with_timedelta_window_and_minperiods(self):
433433
expected_data = np.append([np.NaN, 1.], np.arange(3., 27., 3))
434434
for window in [timedelta(days=3), pd.Timedelta(days=3)]:
435435
result_roll_sum = df.rolling(window=window, min_periods=2).sum()
436-
result_roll_generic = df.rolling(window=window,
436+
result_roll_generic = df.rolling(window=window,
437437
min_periods=2).apply(sum)
438438
expected = pd.DataFrame({'value': expected_data},
439439
index=pd.date_range('2015-12-24',

0 commit comments

Comments
 (0)