Make YAPF happy

pull/21607/head
Lidi Zheng 5 years ago
parent 387c9c0be3
commit 8d81314fc8
  1. 5
      src/python/grpcio_tests/tests_aio/unit/channel_argument_test.py

@ -93,6 +93,7 @@ class TestChannelArgument(AioTestBase):
random.seed(_RANDOM_SEED)
async def test_server_so_reuse_port_is_set_properly(self):
async def test_body():
fact, options = random.choice(_OPTIONS)
server = aio.server(options=options)
@ -110,9 +111,7 @@ class TestChannelArgument(AioTestBase):
await server.stop(None)
# Creating a lot of servers concurrently
await asyncio.gather(
*(test_body() for _ in range(_NUM_SERVER_CREATED))
)
await asyncio.gather(*(test_body() for _ in range(_NUM_SERVER_CREATED)))
async def test_client(self):
aio.insecure_channel('[::]:0', options=_TEST_CHANNEL_ARGS)

Loading…
Cancel
Save