Skip to content

Commit 66f098f

Browse files
authored
Update test_style.py
1 parent 4f0d662 commit 66f098f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/io/formats/style/test_style.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,10 +487,10 @@ def test_repr_html_ok(self, styler):
487487

488488
def test_repr_html_mathjax(self, styler):
489489
# gh-19824 / 41395
490-
assert "tex2jax_ignore" and "mathjax_ignore" not in styler._repr_html_()
490+
assert "tex2jax_ignore" not in styler._repr_html_() and "mathjax_ignore" not in styler._repr_html_()
491491

492492
with option_context("styler.html.mathjax", False):
493-
assert "tex2jax_ignore" and "mathjax_ignore" in styler._repr_html_()
493+
assert "tex2jax_ignore" in styler._repr_html_() and "mathjax_ignore" in styler._repr_html_()
494494

495495
def test_update_ctx(self, styler):
496496
styler._update_ctx(DataFrame({"A": ["color: red", "color: blue"]}))

0 commit comments

Comments
 (0)