diff options
| author | Tim Graham <timograham@gmail.com> | 2015-01-28 07:35:27 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-06 08:16:28 -0500 |
| commit | 0ed7d155635da9f79d4dd67e4889087d3673c6da (patch) | |
| tree | cf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/aggregation | |
| parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/aggregation')
| -rw-r--r-- | tests/aggregation/tests.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/aggregation/tests.py b/tests/aggregation/tests.py index 7e500dfb0e..9282c7e10c 100644 --- a/tests/aggregation/tests.py +++ b/tests/aggregation/tests.py @@ -1,22 +1,21 @@ from __future__ import unicode_literals import datetime -from decimal import Decimal import re +from decimal import Decimal from django.core.exceptions import FieldError from django.db import connection from django.db.models import ( - Avg, Sum, Count, Max, Min, - Aggregate, F, Value, Func, - IntegerField, FloatField, DecimalField) + F, Aggregate, Avg, Count, DecimalField, FloatField, Func, IntegerField, + Max, Min, Sum, Value, +) from django.test import TestCase, ignore_warnings -from django.test.utils import Approximate -from django.test.utils import CaptureQueriesContext +from django.test.utils import Approximate, CaptureQueriesContext from django.utils import six, timezone from django.utils.deprecation import RemovedInDjango20Warning -from .models import Author, Publisher, Book, Store +from .models import Author, Book, Publisher, Store class BaseAggregateTestCase(TestCase): |
