From a8b70d251d238b4e6cfc7bb4296da15494f8dff3 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 9 Feb 2015 13:19:34 -0500 Subject: [1.8.x] Sorted imports with isort; refs #23860. Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master --- tests/requests/tests.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'tests/requests') diff --git a/tests/requests/tests.py b/tests/requests/tests.py index e9fdefb7ea..b0598b1cc0 100644 --- a/tests/requests/tests.py +++ b/tests/requests/tests.py @@ -1,16 +1,18 @@ # -*- encoding: utf-8 -*- from __future__ import unicode_literals +import time from datetime import datetime, timedelta from io import BytesIO from itertools import chain -import time from django.core.exceptions import SuspiciousOperation -from django.core.handlers.wsgi import WSGIRequest, LimitedStream -from django.http import (HttpRequest, HttpResponse, parse_cookie, - build_request_repr, UnreadablePostError, RawPostDataException) -from django.test import SimpleTestCase, RequestFactory, override_settings +from django.core.handlers.wsgi import LimitedStream, WSGIRequest +from django.http import ( + HttpRequest, HttpResponse, RawPostDataException, UnreadablePostError, + build_request_repr, parse_cookie, +) +from django.test import RequestFactory, SimpleTestCase, override_settings from django.test.client import FakePayload from django.test.utils import str_prefix from django.utils import six -- cgit v1.3