diff --git a/common/djangoapps/student/tests/factories.py b/common/djangoapps/student/tests/factories.py index 5f404c1e96300893332d8490c4a0a5d149b20815..ecffdf63cd1d2936eb033de963a042b391a8d7be 100644 --- a/common/djangoapps/student/tests/factories.py +++ b/common/djangoapps/student/tests/factories.py @@ -5,7 +5,6 @@ from datetime import datetime from uuid import uuid4 import factory -import six from django.contrib.auth.models import AnonymousUser, Group, Permission from django.contrib.contenttypes.models import ContentType from factory.django import DjangoModelFactory diff --git a/common/djangoapps/student/tests/test_admin_views.py b/common/djangoapps/student/tests/test_admin_views.py index 4b5a351b788d63e0ca1cf9f68c0e51d8f5973439..c19af005186863848fb05646e1924a07c686b6f6 100644 --- a/common/djangoapps/student/tests/test_admin_views.py +++ b/common/djangoapps/student/tests/test_admin_views.py @@ -8,7 +8,6 @@ from unittest.mock import Mock import ddt import pytest -import six from django.contrib.admin.sites import AdminSite from django.contrib.auth.models import User # lint-amnesty, pylint: disable=imported-auth-user from django.forms import ValidationError diff --git a/common/djangoapps/student/tests/test_course_listing.py b/common/djangoapps/student/tests/test_course_listing.py index c061ed389983cb77672f910a46247b8aaed58272..4679f5e0538afc9761fa4b2edc58994774066ed3 100644 --- a/common/djangoapps/student/tests/test_course_listing.py +++ b/common/djangoapps/student/tests/test_course_listing.py @@ -7,7 +7,6 @@ by reversing group name formats. import unittest from unittest import mock -import six from django.conf import settings from django.test.client import Client from milestones.tests.utils import MilestonesTestCaseMixin diff --git a/common/djangoapps/student/tests/test_email.py b/common/djangoapps/student/tests/test_email.py index f11f35a1fb3be915f4c508968efd3e2046896db6..5c48dc8ee014c69e2847646fdde035c7bb6ad00d 100644 --- a/common/djangoapps/student/tests/test_email.py +++ b/common/djangoapps/student/tests/test_email.py @@ -15,7 +15,6 @@ from django.test.client import RequestFactory from django.urls import reverse from django.utils.html import escape from edx_toggles.toggles.testutils import override_waffle_flag -from six import text_type from common.djangoapps.edxmako.shortcuts import marketing_link from common.djangoapps.student.email_helpers import generate_proctoring_requirements_email_context diff --git a/common/djangoapps/student/tests/test_enrollment.py b/common/djangoapps/student/tests/test_enrollment.py index 483aa39f462b07885577e0227e5088efeb155187..0b34fd107defa11e2e89ee5240e7b96b0bd51b2c 100644 --- a/common/djangoapps/student/tests/test_enrollment.py +++ b/common/djangoapps/student/tests/test_enrollment.py @@ -8,7 +8,6 @@ from unittest.mock import patch import ddt import pytest -import six from django.conf import settings from django.urls import reverse from edx_toggles.toggles.testutils import override_waffle_flag diff --git a/common/djangoapps/student/tests/test_long_username_email.py b/common/djangoapps/student/tests/test_long_username_email.py index dbb5669a4db90142b82fb88b36451caa9e71a2d3..bee416100e90df4c0214444da4877d30573d0e3e 100644 --- a/common/djangoapps/student/tests/test_long_username_email.py +++ b/common/djangoapps/student/tests/test_long_username_email.py @@ -1,3 +1,4 @@ +""" Test case for longer user emails.""" import json from django.test import TestCase diff --git a/common/djangoapps/student/tests/test_views.py b/common/djangoapps/student/tests/test_views.py index fd79c1835ea33291cfe7b521268868ba242cdc57..59d91b20da08e43b95e08bae120cee88ea972af7 100644 --- a/common/djangoapps/student/tests/test_views.py +++ b/common/djangoapps/student/tests/test_views.py @@ -11,7 +11,6 @@ from datetime import timedelta # lint-amnesty, pylint: disable=unused-import from unittest.mock import patch import ddt -import six from completion.test_utils import CompletionWaffleTestMixin, submit_completions_for_testing from django.conf import settings from django.test import TestCase