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 9c29d71 commit bff71faCopy full SHA for bff71fa
pandas/tests/io/formats/style/test_style.py
@@ -893,13 +893,10 @@ def test_maybe_convert_css_to_tuples(self):
893
#if no value, return attr and empty string
894
expected = [("a", ""), ("c", "")]
895
assert maybe_convert_css_to_tuples("a:;c: ") == expected
896
-
897
898
def test_maybe_convert_css_to_tuples_err(self):
899
- msg = (
900
- "Styles supplied as string must follow CSS rule formats, "
901
- "for example 'attr: val;'. 'err' was given."
902
- )
+ msg = "Styles supplied as string must follow CSS rule formats, " \
+ "for example 'attr: val;'. 'err' was given."
903
with pytest.raises(ValueError, match=msg):
904
maybe_convert_css_to_tuples("err")
905
0 commit comments