Skip to content

Commit

Permalink
Python 3.2 compatibility
Browse files Browse the repository at this point in the history
binascii.unhexlify accepts only bytes there.

Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Mar 27, 2015
1 parent 8e07103 commit 67455f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_sms.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import binascii

PDU_DATA = binascii.unhexlify(
'079124602009999002AB098106845688F8907080517375809070805183018000'
b'079124602009999002AB098106845688F8907080517375809070805183018000'
)

MESSAGE = (
Expand Down

0 comments on commit 67455f2

Please sign in to comment.