From d0187ff0579d5ba76b496a0e337cb3f556c791ec Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Tue, 1 Dec 2020 19:24:12 +0000 Subject: [PATCH] Restyled by reorder-python-imports --- pysolr.py | 8 ++++++-- tests/test_client.py | 28 +++++++++++++--------------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/pysolr.py b/pysolr.py index 7ff20f24..3bd50c7c 100644 --- a/pysolr.py +++ b/pysolr.py @@ -1,5 +1,7 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import, print_function, unicode_literals +from __future__ import absolute_import +from __future__ import print_function +from __future__ import unicode_literals import ast import datetime @@ -11,7 +13,9 @@ from xml.etree import ElementTree import requests -from pkg_resources import DistributionNotFound, get_distribution, parse_version +from pkg_resources import DistributionNotFound +from pkg_resources import get_distribution +from pkg_resources import parse_version try: from kazoo.client import KazooClient, KazooState diff --git a/tests/test_client.py b/tests/test_client.py index 8e45a201..37349609 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- - -from __future__ import absolute_import, unicode_literals +from __future__ import absolute_import +from __future__ import unicode_literals import datetime import random @@ -8,19 +8,17 @@ from io import StringIO from xml.etree import ElementTree -from pysolr import ( - NESTED_DOC_KEY, - Results, - Solr, - SolrError, - clean_xml_string, - force_bytes, - force_unicode, - json, - safe_urlencode, - sanitize, - unescape_html, -) +from pysolr import clean_xml_string +from pysolr import force_bytes +from pysolr import force_unicode +from pysolr import json +from pysolr import NESTED_DOC_KEY +from pysolr import Results +from pysolr import safe_urlencode +from pysolr import sanitize +from pysolr import Solr +from pysolr import SolrError +from pysolr import unescape_html try: from unittest.mock import Mock