Rewrite long strings using \ instead of + (concatenation).

This commit is contained in:
Davide Casale
2023-03-08 16:30:52 +01:00
parent 88e6c79532
commit 894391256d
7 changed files with 44 additions and 41 deletions

View File

@@ -26,8 +26,8 @@ class TestLabeler(unittest.TestCase):
msg="_Serializer::get_labels() should return the right list of labels.")
with self.assertRaises(LabelerSerializerException,
msg="_Serializer should raise LabelerSerializerException if given "
+ "fewer arguments than the serializer labels."):
msg="_Serializer should raise LabelerSerializerException if given " \
"fewer arguments than the serializer labels."):
serializer.parse(5, 65.0, "X")
def test_generate_recursive_serializer(self):