diff options
author | Shadab Zafar <dufferzafar0@gmail.com> | 2016-05-31 20:01:32 +0530 |
---|---|---|
committer | Shadab Zafar <dufferzafar0@gmail.com> | 2016-06-06 00:07:44 +0530 |
commit | 7b6da987193aa7bf9e7f9a0f892577d4c853910c (patch) | |
tree | 14b1326262c0b8dc45bdda2e1d78878fb1308f51 /test/pathod/test_language_actions.py | |
parent | be306c84399a8583362b1744348762927fc5cb55 (diff) | |
download | mitmproxy-7b6da987193aa7bf9e7f9a0f892577d4c853910c.tar.gz mitmproxy-7b6da987193aa7bf9e7f9a0f892577d4c853910c.tar.bz2 mitmproxy-7b6da987193aa7bf9e7f9a0f892577d4c853910c.zip |
Py3: Use byte literals for comparison
Diffstat (limited to 'test/pathod/test_language_actions.py')
-rw-r--r-- | test/pathod/test_language_actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/test_language_actions.py b/test/pathod/test_language_actions.py index c8721a03..2d870336 100644 --- a/test/pathod/test_language_actions.py +++ b/test/pathod/test_language_actions.py @@ -53,7 +53,7 @@ class TestInject: def test_at(self): e = actions.InjectAt.expr() v = e.parseString("i0,'foo'")[0] - assert v.value.val == "foo" + assert v.value.val == b"foo" assert v.offset == 0 assert isinstance(v, actions.InjectAt) |