Skip to content

Commit c068e21

Browse files
authored
Update test_to_html.py
1 parent c85871a commit c068e21

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/tests/io/formats/test_to_html.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,10 +933,12 @@ 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" not in df._repr_html_() and "mathjax_ignore" not in df._repr_html_()
936+
assert "tex2jax_ignore" not in df._repr_html_()
937+
assert "mathjax_ignore" not in df._repr_html_()
937938

938939
with option_context("display.html.use_mathjax", False):
939-
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_()
940942

941943
def test_repr_html_wide(self):
942944
max_cols = 20

0 commit comments

Comments
 (0)