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 4f0d662 commit 66f098fCopy full SHA for 66f098f
pandas/tests/io/formats/style/test_style.py
@@ -487,10 +487,10 @@ def test_repr_html_ok(self, styler):
487
488
def test_repr_html_mathjax(self, styler):
489
# gh-19824 / 41395
490
- assert "tex2jax_ignore" and "mathjax_ignore" not in styler._repr_html_()
+ assert "tex2jax_ignore" not in styler._repr_html_() and "mathjax_ignore" not in styler._repr_html_()
491
492
with option_context("styler.html.mathjax", False):
493
- assert "tex2jax_ignore" and "mathjax_ignore" in styler._repr_html_()
+ assert "tex2jax_ignore" in styler._repr_html_() and "mathjax_ignore" in styler._repr_html_()
494
495
def test_update_ctx(self, styler):
496
styler._update_ctx(DataFrame({"A": ["color: red", "color: blue"]}))
0 commit comments