diff --git a/modeltranslation/tests/tests.py b/modeltranslation/tests/tests.py index 876bc31..4a29f23 100644 --- a/modeltranslation/tests/tests.py +++ b/modeltranslation/tests/tests.py @@ -2173,9 +2173,10 @@ class TranslationAdminTest(ModeltranslationTestBase): ) 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']