diff options
| author | Johannes Dollinger <emulbreh@googlemail.com> | 2016-05-25 21:00:20 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-08-08 10:43:34 -0400 |
| commit | 46509cf13dbf049f75077981c29ef2c60b5a96ab (patch) | |
| tree | 7e9400fede5c49a2cb2efa666d8fc44d0752ad3c /tests | |
| parent | c002a0d39f18694f5e8a07d86684fc793b063056 (diff) | |
Moved EmpytResultSet to django.core.exceptions.
This removes the need for some inner imports.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/queries/tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/queries/tests.py b/tests/queries/tests.py index fdfd1b5725..a82f59e231 100644 --- a/tests/queries/tests.py +++ b/tests/queries/tests.py @@ -6,11 +6,10 @@ import unittest from collections import OrderedDict from operator import attrgetter -from django.core.exceptions import FieldError +from django.core.exceptions import EmptyResultSet, FieldError from django.db import DEFAULT_DB_ALIAS, connection from django.db.models import Count, F, Q from django.db.models.sql.constants import LOUTER -from django.db.models.sql.datastructures import EmptyResultSet from django.db.models.sql.where import NothingNode, WhereNode from django.test import TestCase, skipUnlessDBFeature from django.test.utils import CaptureQueriesContext |
