summaryrefslogtreecommitdiff
path: root/httpretty/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'httpretty/utils.py')
-rw-r--r--httpretty/utils.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/httpretty/utils.py b/httpretty/utils.py
index c203796..5c0fa13 100644
--- a/httpretty/utils.py
+++ b/httpretty/utils.py
@@ -25,14 +25,12 @@
# OTHER DEALINGS IN THE SOFTWARE.
from __future__ import unicode_literals
-from .compat import (
- binary_type, text_type
-)
+from .compat import binary_type, text_type
def utf8(s):
if isinstance(s, text_type):
- s = s.encode('utf-8')
+ s = s.encode("utf-8")
elif s is None:
return binary_type()