summaryrefslogtreecommitdiff
path: root/www/py-spyne/files/patch-spyne-test-transport-test_msgpack.py
blob: 659505969241d17e50fcee38e7fa3c3fae1d55d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- spyne/test/transport/test_msgpack.py.orig	2014-06-09 22:35:04 UTC
+++ spyne/test/transport/test_msgpack.py
@@ -52,9 +52,9 @@ class TestMessagePackServer(unittest.Tes
         request = msgpack.packb({'yay': [v]})
         prot.dataReceived(msgpack.packb([1, request]))
         val = prot.transport.value()
-        print repr(val)
+        print(repr(val))
         val = msgpack.unpackb(val)
-        print repr(val)
+        print(repr(val))
 
         self.assertEquals(val, {0: msgpack.packb(v)})
 
@@ -80,9 +80,9 @@ class TestMessagePackServer(unittest.Tes
         request = msgpack.packb({'yay': [v]})
         def _ccb(_):
             val = prot.transport.value()
-            print repr(val)
+            print(repr(val))
             val = msgpack.unpackb(val)
-            print repr(val)
+            print(repr(val))
 
             self.assertEquals(val, {0: msgpack.packb(v)})