tests/test-wireproto.py
changeset 28675 fcafd84bc9c5
parent 28438 48fd02dac1d4
child 28860 50d11dd8ac02
--- a/tests/test-wireproto.py	Tue Mar 29 17:22:08 2016 +0000
+++ b/tests/test-wireproto.py	Tue Mar 29 16:14:58 2016 +0530
@@ -1,4 +1,4 @@
-from __future__ import absolute_import
+from __future__ import absolute_import, print_function
 
 import StringIO
 
@@ -52,8 +52,8 @@
 srv = serverrepo()
 clt = clientpeer(srv)
 
-print clt.greet("Foobar")
+print(clt.greet("Foobar"))
 b = clt.batch()
 fs = [b.greet(s) for s in ["Fo, =;:<o", "Bar"]]
 b.submit()
-print [f.value for f in fs]
+print([f.value for f in fs])