diff options
author | Leifur Halldor Asgeirsson <lasgeirsson@zerofail.com> | 2016-03-01 10:35:05 -0500 |
---|---|---|
committer | Leif Halldor Asgeirsson <leifur@leifur.ca> | 2016-03-23 20:50:36 -0400 |
commit | ae2195667d4bbe24a8b67e5e9b23280211f92d36 (patch) | |
tree | b716d60a298c25aa3460cf9ab3662036d48c4cfd /src/python/grpcio/tests/interop | |
parent | 931245644b9ce41a7f096c788ef37583c8a07941 (diff) |
fixes to tests for py2/3 syntax compatibility
Diffstat (limited to 'src/python/grpcio/tests/interop')
-rw-r--r-- | src/python/grpcio/tests/interop/methods.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/python/grpcio/tests/interop/methods.py b/src/python/grpcio/tests/interop/methods.py index 1f5561c1f0..7f42b4a005 100644 --- a/src/python/grpcio/tests/interop/methods.py +++ b/src/python/grpcio/tests/interop/methods.py @@ -29,6 +29,8 @@ """Implementations of interoperability test methods.""" +from __future__ import print_function + import enum import json import os @@ -208,7 +210,7 @@ def _ping_pong(stub): with stub, _Pipe() as pipe: response_iterator = stub.FullDuplexCall(pipe, _TIMEOUT) - print 'Starting ping-pong with response iterator %s' % response_iterator + print('Starting ping-pong with response iterator %s' % response_iterator) for response_size, payload_size in zip( request_response_sizes, request_payload_sizes): request = messages_pb2.StreamingOutputCallRequest( |