Skip to content

Commit

Permalink
changed test size from 100 to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiquegarmier committed Nov 3, 2023
1 parent 03b39d6 commit bf0d1b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/tests/io/formats/test_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ def test_repr_truncation(self):

def test_repr_truncation_preserves_na(self):
# https://github.com/pandas-dev/pandas/issues/55630
df = DataFrame({"a": [pd.NA for _ in range(100)]})
df = DataFrame({"a": [pd.NA for _ in range(10)]})
with option_context("display.max_rows", 2, "display.show_dimensions", False):
assert repr(df) == (" a\n0 <NA>\n.. ...\n99 <NA>")
assert repr(df) == " a\n0 <NA>\n.. ...\n9 <NA>"

def test_max_colwidth_negative_int_raises(self):
# Deprecation enforced from:
Expand Down

0 comments on commit bf0d1b1

Please sign in to comment.