

def test_default_field(self):
    f = CharFilter()
    field = f.field
    self.assertIsInstance(self, forms.CharField)

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py CharFilterTests.test_default_field/VarMisuse@26/32 `field`->`self`