diff --git a/modeltranslation/tests/tests.py b/modeltranslation/tests/tests.py index 876bc31a..4a29f235 100644 --- a/modeltranslation/tests/tests.py +++ b/modeltranslation/tests/tests.py @@ -2173,9 +2173,10 @@ def formfield_for_dbfield(self, db_field, request, **kwargs): ) def test_widget_classes_appended_by_formfield_for_dbfield(self): - ''' - regression test for #660 (https://github.com/deschler/django-modeltranslation/issues/660) - ''' + """ + Regression test for #660 (https://github.com/deschler/django-modeltranslation/issues/660) + """ + class ForeignKeyModelModelAdmin(admin.TranslationAdmin): fields = ['test']