break long lines (pep8)

This commit is contained in:
ishirav 2017-12-23 07:39:40 +02:00
parent 4c38b28469
commit d1c8241947

View File

@ -16,11 +16,15 @@ class TestMatching(TestCase):
matching_algorithm=getattr(klass, algorithm) matching_algorithm=getattr(klass, algorithm)
) )
for string in true: for string in true:
self.assertTrue(instance.matches(string), self.assertTrue(
'"%s" should match "%s" but it does not' % (text, string)) instance.matches(string),
'"%s" should match "%s" but it does not' % (text, string)
)
for string in false: for string in false:
self.assertFalse(instance.matches(string), self.assertFalse(
'"%s" should not match "%s" but it does' % (text, string)) instance.matches(string),
'"%s" should not match "%s" but it does' % (text, string)
)
def test_match_all(self): def test_match_all(self):