mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
flake8 fixes (unused imports and variables).
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user