File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
pandas/tests/io/formats/style Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -487,10 +487,12 @@ def test_repr_html_ok(self, styler):
487487
488488 def test_repr_html_mathjax (self , styler ):
489489 # gh-19824 / 41395
490- assert "tex2jax_ignore" not in styler ._repr_html_ () and "mathjax_ignore" not in styler ._repr_html_ ()
490+ assert "tex2jax_ignore" not in styler ._repr_html_ ()
491+ assert "mathjax_ignore" not in styler ._repr_html_ ()
491492
492493 with option_context ("styler.html.mathjax" , False ):
493- assert "tex2jax_ignore" in styler ._repr_html_ () and "mathjax_ignore" in styler ._repr_html_ ()
494+ assert "tex2jax_ignore" in styler ._repr_html_ ()
495+ assert "mathjax_ignore" in styler ._repr_html_ ()
494496
495497 def test_update_ctx (self , styler ):
496498 styler ._update_ctx (DataFrame ({"A" : ["color: red" , "color: blue" ]}))
You can’t perform that action at this time.
0 commit comments