Skip to content

Commit a569538

Browse files
committed
fix PEP8 issues
1 parent 0a7db15 commit a569538

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/tests/test_window.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ 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, min_periods=2).apply(sum)
436+
result_roll_generic = df.rolling(window=window,
437+
min_periods=2).apply(sum)
437438
expected = pd.DataFrame({'value': expected_data},
438439
index=pd.date_range('2015-12-24',
439440
periods=n,
@@ -442,7 +443,7 @@ def test_constructor_with_timedelta_window_and_minperiods(self):
442443
tm.assert_frame_equal(result_roll_generic, expected)
443444
expected = df.rolling('3D', min_periods=2).sum()
444445
tm.assert_frame_equal(result_roll_generic, expected)
445-
446+
446447
def test_numpy_compat(self):
447448
# see gh-12811
448449
r = rwindow.Rolling(Series([2, 4, 6]), window=2)

0 commit comments

Comments
 (0)