From 67455f2c717eb96389f023ba4d844f1d44e00bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 27 Mar 2015 13:43:58 +0100 Subject: [PATCH] Python 3.2 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit binascii.unhexlify accepts only bytes there. Signed-off-by: Michal Čihař --- test/test_sms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_sms.py b/test/test_sms.py index 16de42ef5..70e58e992 100644 --- a/test/test_sms.py +++ b/test/test_sms.py @@ -26,7 +26,7 @@ import binascii PDU_DATA = binascii.unhexlify( - '079124602009999002AB098106845688F8907080517375809070805183018000' + b'079124602009999002AB098106845688F8907080517375809070805183018000' ) MESSAGE = (