diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-18 07:49:35 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-18 07:49:35 +0200 |
| commit | bb54a2daeea5dde2fca0b7feddd94e26ea69b619 (patch) | |
| tree | 5586166217d67e802a3d723de4cdff1b628ba19a /tests | |
| parent | e85317d73113382c96e87f36f0d732e3084df145 (diff) | |
[2.2.x] Removed unused imports.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/many_to_many/tests.py | 4 | ||||
| -rw-r--r-- | tests/view_tests/tests/test_debug.py | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/tests/many_to_many/tests.py b/tests/many_to_many/tests.py index 17d75f3957..0b99cfda4e 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 cdc01352a9..a525433dfa 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 ( |
