

def test_filtering(self):

    class NumberInFilter(BaseInFilter, NumberFilter):
        pass
    qs = mock.Mock(spec=['filter'])
    f = NumberInFilter()
    qs.filter(qs, [1, 2])
    qs.filter.assert_called_once_with(None__in=[1, 2])

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py BaseInFilterTests.test_filtering/VarMisuse@43/56 `f`->`qs`