diff --git a/tests/many_to_many/tests.py b/tests/many_to_many/tests.py index 17d75f3957e..0b99cfda4e4 100644 --- a/tests/many_to_many/tests.py +++ b/tests/many_to_many/tests.py @@ -1,7 +1,5 @@ -from unittest import mock - from django.db import transaction -from django.test import TestCase, skipUnlessDBFeature +from django.test import TestCase from .models import Article, InheritedArticleA, InheritedArticleB, Publication diff --git a/tests/view_tests/tests/test_debug.py b/tests/view_tests/tests/test_debug.py index cdc01352a9d..a525433dfa3 100644 --- a/tests/view_tests/tests/test_debug.py +++ b/tests/view_tests/tests/test_debug.py @@ -21,8 +21,7 @@ from django.utils.safestring import mark_safe from django.utils.version import PY36 from django.views.debug import ( CLEANSED_SUBSTITUTE, CallableSettingWrapper, ExceptionReporter, - Path as DebugPath, cleanse_setting, default_urlconf, - technical_404_response, technical_500_response, + Path as DebugPath, cleanse_setting, technical_500_response, ) from ..views import (