

def test_ints_coerce_fail(self):
    try:
        typeinference.normalize_column_type(['1', '-87', '418000000', '', 'TRUE'], normal_type=int)
    except InvalidValueForTypeException as e:
        self.assertEqual(e.index, 4)
        self.assertEqual(e.value, 'TRUE')
        e.assertEqual(e.normal_type, int)
    else:
        raise AssertionError('Expected InvalidValueForTypeException')

dataset/ETHPy150Open wireservice/csvkit/tests/test_typeinference.py TestNormalizeType.test_ints_coerce_fail/VarMisuse@65/95 `self`->`e`