summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-02-18 11:33:30 -0500
committerTim Graham <timograham@gmail.com>2014-02-18 11:33:30 -0500
commit20f455b3d6298431fae34a8f92905f4dd3a4f99f (patch)
treef457d9b2cc7ec4c41aee9007703b61a432c207ab
parentffa238c3f781b064e5c0cfd0b40d1a7da9d84a49 (diff)
flake8 fixes (unused imports and variables).
-rw-r--r--django/contrib/auth/tests/test_basic.py1
-rw-r--r--django/contrib/auth/tests/test_management.py2
-rw-r--r--tests/user_commands/tests.py1
3 files changed, 0 insertions, 4 deletions
diff --git a/django/contrib/auth/tests/test_basic.py b/django/contrib/auth/tests/test_basic.py
index 2426114c48..9cf7eedca4 100644
--- a/django/contrib/auth/tests/test_basic.py
+++ b/django/contrib/auth/tests/test_basic.py
@@ -6,7 +6,6 @@ from django.contrib.auth.models import User, AnonymousUser
from django.contrib.auth.tests.custom_user import CustomUser
from django.contrib.auth.tests.utils import skipIfCustomUser
from django.core.exceptions import ImproperlyConfigured
-from django.core.management import call_command
from django.dispatch import receiver
from django.test import TestCase, override_settings
from django.test.signals import setting_changed
diff --git a/django/contrib/auth/tests/test_management.py b/django/contrib/auth/tests/test_management.py
index 9dd88c7a29..96d9571456 100644
--- a/django/contrib/auth/tests/test_management.py
+++ b/django/contrib/auth/tests/test_management.py
@@ -327,8 +327,6 @@ class CreatesuperuserManagementCommandTestCase(TestCase):
available on self.stdin.
If no such option is passed, it defaults to sys.stdin.
"""
-
- user_data = {'username': 'foo', 'email': 'foo@example.com'}
sentinel = object()
command = createsuperuser.Command()
command.execute(
diff --git a/tests/user_commands/tests.py b/tests/user_commands/tests.py
index 52665f1a1c..bf555e66b9 100644
--- a/tests/user_commands/tests.py
+++ b/tests/user_commands/tests.py
@@ -2,7 +2,6 @@ import sys
from django.core import management
from django.core.management import CommandError
-from django.core.management.base import BaseCommand
from django.core.management.utils import popen_wrapper
from django.test import SimpleTestCase
from django.utils import translation