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 66f098f commit bac4dc4Copy full SHA for bac4dc4
pandas/tests/io/formats/test_to_html.py
@@ -933,10 +933,10 @@ 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" and "mathjax_ignore" not in df._repr_html_()
+ assert "tex2jax_ignore" not in df._repr_html_() and "mathjax_ignore" not in df._repr_html_()
937
938
with option_context("display.html.use_mathjax", False):
939
- assert "tex2jax_ignore" and "mathjax_ignore" in df._repr_html_()
+ assert "tex2jax_ignore" in df._repr_html_() and "mathjax_ignore" in df._repr_html_()
940
941
def test_repr_html_wide(self):
942
max_cols = 20
0 commit comments