From 2fa2068406cbef08bac3e2da9b69e86c6b931f57 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 18 Jan 2015 20:02:15 -0500 Subject: [PATCH] Removed an unused import and a flake8 exclude that caused it to be missed. --- setup.cfg | 2 +- tests/test_client_regress/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index d816b4c617..ef96c071b6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ doc_files = docs extras AUTHORS INSTALL LICENSE README.rst install-script = scripts/rpm-install.sh [flake8] -exclude=build,.git,./django/utils/lru_cache.py,./django/utils/six.py,./django/conf/app_template/*,./django/dispatch/weakref_backports.py,./tests/.env,./xmlrunner,./tests/test_*.py +exclude=build,.git,./django/utils/lru_cache.py,./django/utils/six.py,./django/conf/app_template/*,./django/dispatch/weakref_backports.py,./tests/.env,./xmlrunner ignore=E123,E128,E265,E501,W601 max-line-length = 119 diff --git a/tests/test_client_regress/tests.py b/tests/test_client_regress/tests.py index 43a2298017..2d97823854 100644 --- a/tests/test_client_regress/tests.py +++ b/tests/test_client_regress/tests.py @@ -13,7 +13,7 @@ from django.test import Client, TestCase, ignore_warnings, override_settings from django.test.client import RedirectCycleError, RequestFactory, encode_file from django.test.utils import ContextList, str_prefix from django.template.response import SimpleTemplateResponse -from django.utils.deprecation import RemovedInDjango19Warning, RemovedInDjango20Warning +from django.utils.deprecation import RemovedInDjango20Warning from django.utils._os import upath from django.utils.translation import ugettext_lazy from django.http import HttpResponse