We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3aac7e commit 0555768Copy full SHA for 0555768
pandas/tests/test_format.py
@@ -182,11 +182,12 @@ def test_expand_frame_repr(self):
182
def test_repr_non_interactive(self):
183
# in non interactive mode, there can be no dependency on the
184
# result of terminal auto size detection
185
- df = DataFrame('hello', range(99), range(5))
+ df = DataFrame('hello', range(1000), range(5))
186
187
with option_context('mode.sim_interactive', False,
188
- 'display.width', 0,
189
- 'display.height', 0):
+ 'display.width', 0,
+ 'display.height', 0,
190
+ 'display.max_rows',5000):
191
self.assertFalse(has_info_repr(df))
192
self.assertFalse(has_expanded_repr(df))
193
0 commit comments