diff options
| author | Tim Graham <timograham@gmail.com> | 2014-03-21 06:24:45 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-21 06:24:45 -0400 |
| commit | 35f46ec7a99291a560e374183ab4feba2a5c679a (patch) | |
| tree | fecfe00b20f9ff82786df79ee25ca48d8f1124a0 /tests | |
| parent | 86c89265698f636107a31f3538d2cd604049990d (diff) | |
Fixed flake8 warnings.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/forms_tests/tests/test_validators.py | 8 | ||||
| -rw-r--r-- | 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 ################################################ |
