From 4f690ab772c2ffb3e9e69d4ef45a5fcffbfb8e01 Mon Sep 17 00:00:00 2001 From: Serg Tereshchenko Date: Tue, 22 Nov 2022 16:40:51 +0200 Subject: [PATCH] chore: Apply black --- modeltranslation/tests/tests.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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']