Skip to content

Commit afb46a6

Browse files
authored
revert explicit str concat
1 parent bff71fa commit afb46a6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,10 @@ def test_maybe_convert_css_to_tuples(self):
895895
assert maybe_convert_css_to_tuples("a:;c: ") == expected
896896

897897
def test_maybe_convert_css_to_tuples_err(self):
898-
msg = "Styles supplied as string must follow CSS rule formats, " \
899-
"for example 'attr: val;'. 'err' was given."
898+
msg = (
899+
"Styles supplied as string must follow CSS rule formats, "
900+
"for example 'attr: val;'. 'err' was given."
901+
)
900902
with pytest.raises(ValueError, match=msg):
901903
maybe_convert_css_to_tuples("err")
902904

0 commit comments

Comments
 (0)