

def test_concrete_field(self):
    field = self.number_in.field
    self.assertIsInstance(field, forms.DecimalField)
    self.assertIsInstance(self, BaseCSVField)
    self.assertEqual(field.__class__.__name__, 'DecimalInField')
    field = self.datetimeyear_in.field
    self.assertIsInstance(field, forms.DateTimeField)
    self.assertIsInstance(field, BaseCSVField)
    self.assertEqual(field.__class__.__name__, 'DateTimeYearInField')

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py CSVFilterTests.test_concrete_field/VarMisuse@33/43 `field`->`self`