Skip to content

Commit

Permalink
Fixed binary used in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MarSoft committed May 24, 2016
1 parent 110ebbc commit c09a3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpatcher/tests/test_asm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_thumbex():
assert tx.match(o)
eq_(o.theval, 0b1111111 + (8<<8))

mock_patch = Patch('test_patch', binary="test_bin")
mock_patch = Patch('test_patch', binary=b"test_bin")
def op_gen(instr, addr=0, context={}):
pos = FilePos('test_asm.pbp',0)
if isinstance(instr, str):
Expand Down

0 comments on commit c09a3ad

Please sign in to comment.