

@override_settings(FILTERS_HELP_TEXT_EXCLUDE=False)
def test_field_with_exclusion_settings(self):
    f = Filter(exclude=True)
    field = f.field
    self.assertIsInstance(field, forms.Field)
    self.assertEqual(self.help_text, '')

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py FilterTests.test_field_with_exclusion_settings/VarMisuse@48/64 `field`->`self`