aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests/tests/unit/framework/interfaces
diff options
context:
space:
mode:
authorGravatar Ken Payson <kpayson@google.com>2017-02-06 10:27:09 -0800
committerGravatar Ken Payson <kpayson@google.com>2017-02-06 10:27:09 -0800
commit2fa5f2f978fc68c732d6bfd35bcde1c7e7e4cf22 (patch)
tree5847db94b9edc86826e742761b938944a592c2a7 /src/python/grpcio_tests/tests/unit/framework/interfaces
parent26623b3d77ae78e66f66b996593acf57a7cf1197 (diff)
Re-run yapf code, and pin version
Diffstat (limited to 'src/python/grpcio_tests/tests/unit/framework/interfaces')
-rw-r--r--src/python/grpcio_tests/tests/unit/framework/interfaces/face/_digest.py9
-rw-r--r--src/python/grpcio_tests/tests/unit/framework/interfaces/face/_invocation.py6
2 files changed, 5 insertions, 10 deletions
diff --git a/src/python/grpcio_tests/tests/unit/framework/interfaces/face/_digest.py b/src/python/grpcio_tests/tests/unit/framework/interfaces/face/_digest.py
index 0411da0a66..cc4855cc33 100644
--- a/src/python/grpcio_tests/tests/unit/framework/interfaces/face/_digest.py
+++ b/src/python/grpcio_tests/tests/unit/framework/interfaces/face/_digest.py
@@ -49,12 +49,9 @@ _IDENTITY = lambda x: x
class TestServiceDigest(
collections.namedtuple('TestServiceDigest', (
- 'methods',
- 'inline_method_implementations',
- 'event_method_implementations',
- 'multi_method_implementation',
- 'unary_unary_messages_sequences',
- 'unary_stream_messages_sequences',
+ 'methods', 'inline_method_implementations',
+ 'event_method_implementations', 'multi_method_implementation',
+ 'unary_unary_messages_sequences', 'unary_stream_messages_sequences',
'stream_unary_messages_sequences',
'stream_stream_messages_sequences',))):
"""A transformation of a service.TestService.
diff --git a/src/python/grpcio_tests/tests/unit/framework/interfaces/face/_invocation.py b/src/python/grpcio_tests/tests/unit/framework/interfaces/face/_invocation.py
index 4e144a3635..6afbd2b5be 100644
--- a/src/python/grpcio_tests/tests/unit/framework/interfaces/face/_invocation.py
+++ b/src/python/grpcio_tests/tests/unit/framework/interfaces/face/_invocation.py
@@ -206,7 +206,5 @@ def invoker_constructors():
Returns:
A sequence of InvokerConstructors.
"""
- return (
- _GenericInvokerConstructor(),
- _MultiCallableInvokerConstructor(),
- _DynamicInvokerConstructor(),)
+ return (_GenericInvokerConstructor(), _MultiCallableInvokerConstructor(),
+ _DynamicInvokerConstructor(),)