Skip to content

Commit bff71fa

Browse files
authored
str concatenation in the test broke mypy
1 parent 9c29d71 commit bff71fa

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -893,13 +893,10 @@ def test_maybe_convert_css_to_tuples(self):
893893
#if no value, return attr and empty string
894894
expected = [("a", ""), ("c", "")]
895895
assert maybe_convert_css_to_tuples("a:;c: ") == expected
896-
897896

898897
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-
)
898+
msg = "Styles supplied as string must follow CSS rule formats, " \
899+
"for example 'attr: val;'. 'err' was given."
903900
with pytest.raises(ValueError, match=msg):
904901
maybe_convert_css_to_tuples("err")
905902

0 commit comments

Comments
 (0)