diff options
| author | Gabriel Falcão <gabriel@nacaolivre.org> | 2018-11-04 23:34:43 +0100 |
|---|---|---|
| committer | Gabriel Falcão <gabriel@nacaolivre.org> | 2018-11-04 23:34:43 +0100 |
| commit | 067c4bda72a442e1771374f9d69a5a1c77c88de5 (patch) | |
| tree | 907b5303ea0c77fbc64daa67e79920577c8edc2f /httpretty/utils.py | |
| parent | 2314893ec5ab46513e91ab867d7b55a72968909e (diff) | |
| download | httpretty-black.tar.gz | |
prettify code with blackblack
Diffstat (limited to 'httpretty/utils.py')
| -rw-r--r-- | httpretty/utils.py | 6 |
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() |
