From ab1dd4e00916a1fa38ce1b5ebd43ebc59340b204 Mon Sep 17 00:00:00 2001 From: Omer Katz Date: Sun, 20 May 2018 11:26:50 +0300 Subject: Introduced isort lint. --- t/unit/utils/test_encoding.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 't/unit/utils/test_encoding.py') diff --git a/t/unit/utils/test_encoding.py b/t/unit/utils/test_encoding.py index 44c81a73..f1861664 100644 --- a/t/unit/utils/test_encoding.py +++ b/t/unit/utils/test_encoding.py @@ -2,16 +2,13 @@ from __future__ import absolute_import, unicode_literals import sys - from contextlib import contextmanager from case import patch, skip -from kombu.five import bytes_t, string_t, string -from kombu.utils.encoding import ( - get_default_encoding_file, safe_str, - set_default_encoding_file, default_encoding, -) +from kombu.five import bytes_t, string, string_t +from kombu.utils.encoding import (default_encoding, get_default_encoding_file, + safe_str, set_default_encoding_file) @contextmanager @@ -67,6 +64,7 @@ def test_default_encode(): class newbytes(bytes): """Mock class to simulate python-future newbytes class""" + def __repr__(self): return 'b' + super(newbytes, self).__repr__() -- cgit v1.2.1