Skip to content

Commit bac4dc4

Browse files
authored
Update test_to_html.py
1 parent 66f098f commit bac4dc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/io/formats/test_to_html.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,10 +933,10 @@ def test_repr_html(self, float_frame):
933933

934934
def test_repr_html_mathjax(self):
935935
df = DataFrame([[1, 2], [3, 4]])
936-
assert "tex2jax_ignore" and "mathjax_ignore" not in df._repr_html_()
936+
assert "tex2jax_ignore" not in df._repr_html_() and "mathjax_ignore" not in df._repr_html_()
937937

938938
with option_context("display.html.use_mathjax", False):
939-
assert "tex2jax_ignore" and "mathjax_ignore" in df._repr_html_()
939+
assert "tex2jax_ignore" in df._repr_html_() and "mathjax_ignore" in df._repr_html_()
940940

941941
def test_repr_html_wide(self):
942942
max_cols = 20

0 commit comments

Comments
 (0)