

def testIllegalDate(self):
    input = 'I have a meeting on February 29 at 12:15pm'
    self.assertRaises(ValueError, (lambda : DateService().extractDate(input)))

dataset/ETHPy150Open crm416/semantic/semantic/test/testDates.py TestDate.testIllegalDate/original