def test_delete_override(self):
        test_apps = Apps()
        with warnings.catch_warnings(record=True) as catched_warnings:
            class CustomFieldDefinition(FieldDefinition):
                class Meta:
                    apps = test_apps
                    app_label = 'mutant'

                def delete(self, *args, **kwargs):
                    pass

        self.assertIn('Avoid overriding the `delete` method on '
                      '`FieldDefinition` subclass `CustomFieldDefinition`',
                      catched_warnings[0].message.args[0])
Checks if simple logging is requested
dataset/ETHPy150Open charettes/django-mutant/tests/test_field_defs.py/FieldDefinitionDeclarationTest.test_delete_override--crossover with--dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/pypetlogging.py/use_simple_logging