Run yapf to reformat Python code

pull/15682/head
Mehrdad Afshari 7 years ago
parent 2b6b6cad12
commit 6eac8c5e88
  1. 3
      src/python/grpcio_tests/tests/_loader.py
  2. 4
      src/python/grpcio_tests/tests/interop/methods.py

@ -48,7 +48,8 @@ class Loader(object):
# measure unnecessarily suffers)
coverage_context = coverage.Coverage(data_suffix=True)
coverage_context.start()
imported_modules = tuple(importlib.import_module(name) for name in names)
imported_modules = tuple(
importlib.import_module(name) for name in names)
for imported_module in imported_modules:
self.visit_module(imported_module)
for imported_module in imported_modules:

@ -144,8 +144,8 @@ def _large_unary_common_behavior(stub, fill_username, fill_oauth_scope,
def _empty_unary(stub):
response = stub.EmptyCall(empty_pb2.Empty())
if not isinstance(response, empty_pb2.Empty):
raise TypeError('response is of type "%s", not empty_pb2.Empty!' %
type(response))
raise TypeError(
'response is of type "%s", not empty_pb2.Empty!' % type(response))
def _large_unary(stub):

Loading…
Cancel
Save