From a480ef89adaf2302c52c5d95fe8a1b691624edc0 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 16 Apr 2018 13:35:40 -0400 Subject: [PATCH] Fixed inconsistent formatting in tests/modeladmin/test_checks.py. --- tests/modeladmin/test_checks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: