From 0ed7d155635da9f79d4dd67e4889087d3673c6da Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 28 Jan 2015 07:35:27 -0500 Subject: Sorted imports with isort; refs #23860. --- tests/aggregation/tests.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'tests/aggregation') 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): -- cgit v1.3