From 35f46ec7a99291a560e374183ab4feba2a5c679a Mon Sep 17 00:00:00 2001
From: Tim Graham <timograham@gmail.com>
Date: Fri, 21 Mar 2014 06:24:45 -0400
Subject: [PATCH] Fixed flake8 warnings.

---
 tests/forms_tests/tests/test_validators.py | 8 ++++----
 tests/template_tests/tests.py              | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/forms_tests/tests/test_validators.py b/tests/forms_tests/tests/test_validators.py
index c69597b497..2f42d2ad44 100644
--- a/tests/forms_tests/tests/test_validators.py
+++ b/tests/forms_tests/tests/test_validators.py
@@ -29,10 +29,10 @@ class UserForm(forms.Form):
         max_length=50,
         validators=[
             validators.RegexValidator(
-                    regex='^[a-z]*$',
-                    message="Letters only.",
-                    flags=re.IGNORECASE,
-                )
+                regex='^[a-z]*$',
+                message="Letters only.",
+                flags=re.IGNORECASE,
+            )
         ]
 
     )
diff --git a/tests/template_tests/tests.py b/tests/template_tests/tests.py
index 1b38c1e112..784f59ecd9 100644
--- a/tests/template_tests/tests.py
+++ b/tests/template_tests/tests.py
@@ -642,7 +642,7 @@ class TemplateTests(TestCase):
         # SYNTAX --
         # 'template_name': ('template contents', 'context dict', 'expected string output' or Exception class)
         # This import is necessary when tests are run isolated:
-        from .templatetags import custom
+        from .templatetags import custom  # noqa
         basedir = os.path.dirname(os.path.abspath(upath(__file__)))
         tests = {
             ### BASIC SYNTAX ################################################