(self)
| 939 | assert "mathjax_ignore" in df._repr_html_() |
| 940 | |
| 941 | def test_repr_html_wide(self): |
| 942 | max_cols = 20 |
| 943 | df = DataFrame([["a" * 25] * (max_cols - 1)] * 10) |
| 944 | with option_context("display.max_rows", 60, "display.max_columns", 20): |
| 945 | assert "..." not in df._repr_html_() |
| 946 | |
| 947 | wide_df = DataFrame([["a" * 25] * (max_cols + 1)] * 10) |
| 948 | with option_context("display.max_rows", 60, "display.max_columns", 20): |
| 949 | assert "..." in wide_df._repr_html_() |
| 950 | |
| 951 | def test_repr_html_wide_multiindex_cols(self): |
| 952 | max_cols = 20 |
nothing calls this directly
no test coverage detected