Commit e1acf32c authored by 4ast's avatar 4ast

Merge pull request #329 from iovisor/dump_func

Update test_dump_func to be python3 compatible
parents 87f05018 1c02a23c
...@@ -15,9 +15,9 @@ class TestDumpFunc(TestCase): ...@@ -15,9 +15,9 @@ class TestDumpFunc(TestCase):
return 1; return 1;
}""") }""")
self.assertEquals( self.assertEqual(
"\xb7\x00\x00\x00\x01\x00\x00\x00" + b"\xb7\x00\x00\x00\x01\x00\x00\x00" +
"\x95\x00\x00\x00\x00\x00\x00\x00", b"\x95\x00\x00\x00\x00\x00\x00\x00",
b.dump_func("entry")) b.dump_func("entry"))
if __name__ == "__main__": if __name__ == "__main__":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment