(self, float_frame)
| 914 | assert "class" in repstr # info fallback |
| 915 | |
| 916 | def test_repr_html(self, float_frame): |
| 917 | df = float_frame |
| 918 | df._repr_html_() |
| 919 | |
| 920 | with option_context("display.max_rows", 1, "display.max_columns", 1): |
| 921 | df._repr_html_() |
| 922 | |
| 923 | with option_context("display.notebook_repr_html", False): |
| 924 | df._repr_html_() |
| 925 | |
| 926 | df = DataFrame([[1, 2], [3, 4]]) |
| 927 | with option_context("display.show_dimensions", True): |
| 928 | assert "2 rows" in df._repr_html_() |
| 929 | with option_context("display.show_dimensions", False): |
| 930 | assert "2 rows" not in df._repr_html_() |
| 931 | |
| 932 | def test_repr_html_mathjax(self): |
| 933 | df = DataFrame([[1, 2], [3, 4]]) |
nothing calls this directly
no test coverage detected