

def test_filtering_requires_name(self):
    qs = mock.Mock(spec=['filter'])
    f = MultipleChoiceFilter()
    with self.assertRaises(TypeError):
        f.filter(f, ['value'])

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py MultipleChoiceFilterTests.test_filtering_requires_name/VarMisuse@43/55 `qs`->`f`