

def test_filtering_skipped_with_none_value(self):
    qs = mock.Mock()
    f = BooleanFilter(name='somefield')
    result = f.filter(qs, None)
    self.assertListEqual(qs.method_calls, [])
    f.assertEqual(qs, result)

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py BooleanFilterTests.test_filtering_skipped_with_none_value/VarMisuse@50/65 `self`->`f`