Skip to content

Commit fd24498

Browse files
authored
Update test_style.py
1 parent ccd74de commit fd24498

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,10 @@ def test_maybe_convert_css_to_tuples(self):
892892

893893

894894
def test_maybe_convert_css_to_tuples_err(self):
895-
msg = "Styles supplied as string must follow CSS rule formats"
895+
msg = (
896+
"Styles supplied as string must follow CSS rule formats, "
897+
"for example 'attr: val;'. 'err' was given."
898+
)
896899
with pytest.raises(ValueError, match=msg):
897900
maybe_convert_css_to_tuples("err")
898901

0 commit comments

Comments
 (0)