

def test_field_with_single_lookup_expr(self):
    f = Filter(lookup_expr='iexact')
    field = f.field
    self.assertIsInstance(field, forms.Field)

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py FilterTests.test_field_with_single_lookup_expr/original