diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-09 13:19:34 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-09 14:24:06 -0500 |
| commit | a8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch) | |
| tree | 94ef5bc53e59131906aecfcf792eeac86242aa62 /tests/aggregation | |
| parent | eb406aa686ff1809903366ef6896037af2f1f69b (diff) | |
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
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): |
