aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod
diff options
context:
space:
mode:
authorShadab Zafar <dufferzafar0@gmail.com>2016-06-07 11:45:38 +0530
committerMaximilian Hils <git@maximilianhils.com>2016-06-07 00:01:41 -0700
commitd254fe791ad57387496eb51dde92a3ec0b6e5752 (patch)
tree33b9863424dc7279dcfe6a8f01779f12a1820894 /test/pathod
parent4f3ace1a629d4cc198faea27e18afec6f100097f (diff)
downloadmitmproxy-d254fe791ad57387496eb51dde92a3ec0b6e5752.tar.gz
mitmproxy-d254fe791ad57387496eb51dde92a3ec0b6e5752.tar.bz2
mitmproxy-d254fe791ad57387496eb51dde92a3ec0b6e5752.zip
Py3: Fix a test_language_writer test by using a byte literal
Diffstat (limited to 'test/pathod')
-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')