summaryrefslogtreecommitdiffhomepage
path: root/tests/test_message.py
diff options
context:
space:
mode:
authorScott Maxwell <scott@codecobblers.com>2013-11-01 00:51:00 -0700
committerScott Maxwell <scott@codecobblers.com>2013-11-01 00:51:00 -0700
commitfee18142a58dce099dd7a9bcb93d124a539cc55c (patch)
treef2345b9f8d93211dafe3175a16aac40f4103e7df /tests/test_message.py
parent8a7267beeb3435fa16c06d22c201650e1e593d89 (diff)
Fixes for Python 2.5 and Python 3.2 support
Diffstat (limited to 'tests/test_message.py')
-rw-r--r--tests/test_message.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_message.py b/tests/test_message.py
index dde694f7..0aed88c2 100644
--- a/tests/test_message.py
+++ b/tests/test_message.py
@@ -28,10 +28,10 @@ from paramiko.common import *
class MessageTest (unittest.TestCase):
- __a = unhexlify('000000170760e09000000001710000000568656c6c6f000003e8') + (b('x') * 1000)
- __b = unhexlify('0100f3003f00000010687565792c64657765792c6c6f756965')
- __c = unhexlify('00000005ff0000000700f5e4d3c2b10900000001110000000700f5e4d3c2b109000000069a1b2c3d4ef7')
- __d = unhexlify('00000005ff000000051122334455ff0000000a00f00000000000000000010000000363617400000003612c62')
+ __a = unhexlify(b('000000170760e09000000001710000000568656c6c6f000003e8')) + (b('x') * 1000)
+ __b = unhexlify(b('0100f3003f00000010687565792c64657765792c6c6f756965'))
+ __c = unhexlify(b('00000005ff0000000700f5e4d3c2b10900000001110000000700f5e4d3c2b109000000069a1b2c3d4ef7'))
+ __d = unhexlify(b('00000005ff000000051122334455ff0000000a00f00000000000000000010000000363617400000003612c62'))
def test_1_encode(self):
msg = Message()