aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/test_language_writer.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-06-08 09:19:25 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-06-08 09:19:25 +1200
commitdb11fe0087776c2bf5d95f5aeb751c6c35d67f4b (patch)
tree1aab054770dee86506a1897093dde2d35489a0de /test/pathod/test_language_writer.py
parentba466dbb358eba223c49fbe602a667aa1a3c7459 (diff)
parenteb680e7764ec902518bc66e4d5c7667326ed5811 (diff)
downloadmitmproxy-db11fe0087776c2bf5d95f5aeb751c6c35d67f4b.tar.gz
mitmproxy-db11fe0087776c2bf5d95f5aeb751c6c35d67f4b.tar.bz2
mitmproxy-db11fe0087776c2bf5d95f5aeb751c6c35d67f4b.zip
Merge branch 'master' into beautiful-json
Diffstat (limited to 'test/pathod/test_language_writer.py')
-rw-r--r--test/pathod/test_language_writer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/test_language_writer.py b/test/pathod/test_language_writer.py
index c02f66f3..e857e084 100644
--- a/test/pathod/test_language_writer.py
+++ b/test/pathod/test_language_writer.py
@@ -87,4 +87,4 @@ def test_write_values_after():
s = BytesIO()
r = next(language.parse_pathod("400:ia,'xx'"))
language.serve(r, s, {})
- assert s.getvalue().endswith('xx')
+ assert s.getvalue().endswith(b'xx')