Skip to content

Commit

Permalink
Merge pull request #329 from iovisor/dump_func
Browse files Browse the repository at this point in the history
Update test_dump_func to be python3 compatible
  • Loading branch information
4ast committed Jan 29, 2016
2 parents 87f0501 + 1c02a23 commit e1acf32
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 e1acf32

Please sign in to comment.