diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2017-12-28 21:07:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-28 21:07:29 +0100 |
| commit | 83a36ac49a98d5d8801ed8428612e9a56aeb8699 (patch) | |
| tree | 192e9bb3f114dad49ffacb17d51a8ecc9faed797 /tests/check_framework | |
| parent | 058d112ed2635873d415661bdf0fcc8752ec37c9 (diff) | |
Removed unnecessary trailing commas and spaces in various code.
Diffstat (limited to 'tests/check_framework')
| -rw-r--r-- | tests/check_framework/test_security.py | 2 | ||||
| -rw-r--r-- | tests/check_framework/tests.py | 4 |
2 files changed, 3 insertions, 3 deletions
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] |
