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 c85871a commit c068e21Copy full SHA for c068e21
pandas/tests/io/formats/test_to_html.py
@@ -933,10 +933,12 @@ def test_repr_html(self, float_frame):
933
934
def test_repr_html_mathjax(self):
935
df = DataFrame([[1, 2], [3, 4]])
936
- assert "tex2jax_ignore" not in df._repr_html_() and "mathjax_ignore" not in df._repr_html_()
+ assert "tex2jax_ignore" not in df._repr_html_()
937
+ assert "mathjax_ignore" not in df._repr_html_()
938
939
with option_context("display.html.use_mathjax", False):
- assert "tex2jax_ignore" in df._repr_html_() and "mathjax_ignore" in df._repr_html_()
940
+ assert "tex2jax_ignore" in df._repr_html_()
941
+ assert "mathjax_ignore" in df._repr_html_()
942
943
def test_repr_html_wide(self):
944
max_cols = 20
0 commit comments