

def test_field_with_lookup_expr(self):
    qs = mock.Mock()
    f = qs.datetimeyear_in
    f.filter(qs, [1, 2])
    qs.filter.assert_called_once_with(None__year__in=[1, 2])

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py CSVFilterTests.test_field_with_lookup_expr/VarMisuse@20/25 `self`->`qs`