Skip to content

Commit 2b54483

Browse files
committed
test: fix tohex helper
1 parent 7069b07 commit 2b54483

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def setUpClass(cls):
7070
def tohex(bin):
7171
hex = []
7272
for i in range(0, len(bin), 16):
73-
hex.append(binascii.hexlify(bin[i:i+16]) + '\n')
73+
hex.append(str(binascii.hexlify(bin[i:i+16])) + '\n')
7474
return hex
7575

7676
def bindiff(bin1, bin2):

0 commit comments

Comments
 (0)