From 83a36ac49a98d5d8801ed8428612e9a56aeb8699 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 28 Dec 2017 21:07:29 +0100 Subject: Removed unnecessary trailing commas and spaces in various code. --- tests/check_framework/test_security.py | 2 +- tests/check_framework/tests.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/check_framework') diff --git a/tests/check_framework/test_security.py b/tests/check_framework/test_security.py index 370fca533b..cfc90f95e9 100644 --- a/tests/check_framework/test_security.py +++ b/tests/check_framework/test_security.py @@ -518,6 +518,6 @@ class CheckAllowedHostsTest(SimpleTestCase): def test_allowed_hosts_empty(self): self.assertEqual(self.func(None), [base.W020]) - @override_settings(ALLOWED_HOSTS=['.example.com', ]) + @override_settings(ALLOWED_HOSTS=['.example.com']) def test_allowed_hosts_set(self): self.assertEqual(self.func(None), []) diff --git a/tests/check_framework/tests.py b/tests/check_framework/tests.py index abb4298c65..061ead9d23 100644 --- a/tests/check_framework/tests.py +++ b/tests/check_framework/tests.py @@ -30,10 +30,10 @@ class SystemCheckFrameworkTests(SimpleTestCase): return [1, 2, 3] def f2(**kwargs): - return [4, ] + return [4] def f3(**kwargs): - return [5, ] + return [5] calls = [0] -- cgit v1.3