

def test_nulls_coerce_fail(self):
    try:
        typeinference.normalize_column_type(['n/a', 'NA', '.', '1.7', 'none', ''], normal_type=NoneType)
    except InvalidValueForTypeException as e:
        e.assertEqual(e.index, 3)
        self.assertEqual(e.value, '1.7')
        self.assertEqual(e.normal_type, NoneType)
    else:
        raise AssertionError('Expected InvalidValueForTypeException')

dataset/ETHPy150Open wireservice/csvkit/tests/test_typeinference.py TestNormalizeType.test_nulls_coerce_fail/VarMisuse@45/75 `self`->`e`