diff --git a/tests/modeladmin/test_checks.py b/tests/modeladmin/test_checks.py index fdbe253396..f76b78078a 100644 --- a/tests/modeladmin/test_checks.py +++ b/tests/modeladmin/test_checks.py @@ -617,7 +617,8 @@ class ListFilterTests(CheckTestCase): self.assertIsInvalid( TestModelAdmin, ValidationTestModel, "The value of 'list_filter[0]' must inherit from 'ListFilter'.", - 'admin.E113') + 'admin.E113' + ) def test_not_filter_again(self): class RandomClass: @@ -921,7 +922,8 @@ class InlinesCheckTests(CheckTestCase): self.assertIsInvalidRegexp( TestModelAdmin, ValidationTestModel, r"'.*\.ValidationTestInline' must have a 'model' attribute\.", - 'admin.E105') + 'admin.E105' + ) def test_invalid_model_type(self): class SomethingBad: