Commit 1c02a23c authored by Brenden Blanco's avatar Brenden Blanco

Update test_dump_func to be python3 compatible

Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
parent 87f05018
......@@ -15,9 +15,9 @@ class TestDumpFunc(TestCase):
return 1;
}""")
self.assertEquals(
"\xb7\x00\x00\x00\x01\x00\x00\x00" +
"\x95\x00\x00\x00\x00\x00\x00\x00",
self.assertEqual(
b"\xb7\x00\x00\x00\x01\x00\x00\x00" +
b"\x95\x00\x00\x00\x00\x00\x00\x00",
b.dump_func("entry"))
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