def test_tenses(self): # Assert tense recognition. self.assertTrue((fr.PRESENT, 3, fr.SG) in fr.tenses("est")) self.assertTrue("2sg" in fr.tenses("es")) print("pattern.fr.tenses()")
def test_tenses(self): # Assert tense of "is". self.assertTrue((fr.PRESENT, 3, fr.SG) in fr.tenses("est")) self.assertTrue("2sg" in fr.tenses("es")) print "pattern.fr.tenses()"