Remove the usage of f-string

pull/20598/head
Lidi Zheng 5 years ago
parent fbe1bc9e8f
commit a588b5ffb9
  1. 2
      src/python/grpcio_tests/tests_aio/unit/server_test.py

@ -48,7 +48,7 @@ class TestServer(unittest.TestCase):
server.add_generic_rpc_handlers((GenericHandler(),))
await server.start()
async with aio.insecure_channel(f'localhost:{port}') as channel:
async with aio.insecure_channel('localhost:%d' % port) as channel:
unary_call = channel.unary_unary(_TEST_METHOD_PATH)
response = await unary_call(_REQUEST)
self.assertEqual(response, _RESPONSE)

Loading…
Cancel
Save