From 7b6da987193aa7bf9e7f9a0f892577d4c853910c Mon Sep 17 00:00:00 2001 From: Shadab Zafar Date: Tue, 31 May 2016 20:01:32 +0530 Subject: Py3: Use byte literals for comparison --- test/pathod/test_language_actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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) -- cgit v1.2.3