pep8 strikes again
@@ -330,9 +330,10 @@ class TestNormalize(unittest.TestCase):
self.assertEqual(
normalize("e outro teste", lang="pt", remove_articles=True),
"outro teste")
- self.assertEqual(normalize(u"isto o teste extra", lang="pt",
- remove_articles=False),
- u"isto e o teste extra")
+ self.assertEqual(normalize(u"isto o teste extra",
+ lang="pt",
+ remove_articles=False), u"isto e o teste"
+ u" extra")
def test_extractnumber_pt(self):
self.assertEqual(extractnumber("isto e o primeiro teste", lang="pt"),
@@ -463,10 +464,9 @@ class TestNormalize(unittest.TestCase):
"2017-06-27 22:45:00", u"lembra")
testExtract("como esta o tempo na sexta de manha",
"2017-06-30 08:00:00", "como tempo")
- testExtract(u"lembra me para ligar a me daqui " \
+ testExtract(u"lembra me para ligar a me daqui "
u"a 8 semanas e 2 dias",
"2017-08-24 00:00:00", u"lembra ligar mae")
-
testExtract("Toca black metal 2 dias a seguir a sexta",
"2017-07-02 00:00:00", "toca black metal")
testExtract("Toca satanic black metal 2 dias para esta sexta",
