

def test_dates_coerce_fail(self):
    try:
        typeinference.normalize_column_type(['Jan 1, 2008 at 4:40 AM', '2010-01-27T03:45:00', '3/1/08 16:14:45', '4:45 AM'], normal_type=datetime.datetime)
    except InvalidValueForTypeException as e:
        self.assertEqual(self.index, 3)
        self.assertEqual(e.value, '4:45 AM')
        self.assertEqual(e.normal_type, datetime.datetime)
    else:
        raise AssertionError('Expected InvalidValueForTypeException')

dataset/ETHPy150Open wireservice/csvkit/tests/test_typeinference.py TestNormalizeType.test_dates_coerce_fail/VarMisuse@47/110 `e`->`self`