Skip to content

Commit

Permalink
Update test_dump_func to be python3 compatible
Browse files Browse the repository at this point in the history
Signed-off-by: Brenden Blanco <[email protected]>
  • Loading branch information
Brenden Blanco committed Jan 29, 2016
1 parent 87f0501 commit 1c02a23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/python/test_dump_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ def test_return(self):
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__":
Expand Down

0 comments on commit 1c02a23

Please sign in to comment.