

def test_filtering(self):
    qs = mock.Mock(spec=['filter'])
    f = f.number_in
    f.filter(qs, [1, 2])
    qs.filter.assert_called_once_with(None__in=[1, 2])

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py CSVFilterTests.test_filtering/VarMisuse@25/30 `self`->`f`