Skip to content

Commit e2fd907

Browse files
committed
pep
1 parent c630297 commit e2fd907

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/tests/formats/test_format.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1423,13 +1423,15 @@ def test_repr_html_long(self):
14231423
with option_context('display.max_rows', 60):
14241424
max_rows = get_option('display.max_rows')
14251425
h = max_rows - 1
1426-
df = DataFrame({'A': np.arange(1, 1 + h), 'B': np.arange(41, 41 + h)})
1426+
df = DataFrame({'A': np.arange(1, 1 + h),
1427+
'B': np.arange(41, 41 + h)})
14271428
reg_repr = df._repr_html_()
14281429
assert '..' not in reg_repr
14291430
assert str(41 + max_rows // 2) in reg_repr
14301431

14311432
h = max_rows + 1
1432-
df = DataFrame({'A': np.arange(1, 1 + h), 'B': np.arange(41, 41 + h)})
1433+
df = DataFrame({'A': np.arange(1, 1 + h),
1434+
'B': np.arange(41, 41 + h)})
14331435
long_repr = df._repr_html_()
14341436
assert '..' in long_repr
14351437
assert str(41 + max_rows // 2) not in long_repr

0 commit comments

Comments
 (0)