Skip to content

Commit bcf8e0e

Browse files
pylint
1 parent 4e2e442 commit bcf8e0e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/test_colorizer.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ def test_colormap_not_available(self):
127127
expected_start = "'some_map' is not a valid value for"
128128
expected_contains = "; supported values are 'Accent',"
129129

130-
assert result.startswith(expected_start), f"The error should start with `{expected_start}`, but starts with `{result[:len(expected_start)]}`"
131-
assert expected_contains in result, f"The error should contain `{expected_contains}`, but does not. Full error: {result}"
130+
assert result.startswith(expected_start), \
131+
f"The error should start with `{expected_start}`, but starts with `{result[:len(expected_start)]}`"
132+
assert expected_contains in result, \
133+
f"The error should contain `{expected_contains}`, but does not. Full error: {result}"
132134

133135
def test_defaults(self):
134136
"""Tests the manipulation of the default values."""

0 commit comments

Comments
 (0)