diff options
author | 2016-10-19 17:03:26 -0700 | |
---|---|---|
committer | 2016-10-19 17:03:26 -0700 | |
commit | 491e1a63064acfb53d61dce4de1beb4a57b3b0c3 (patch) | |
tree | 1c0ee9c2bf67fb2b0a9157f29c37854c195dd925 /src/python/grpcio_tests/tests/unit/_channel_ready_future_test.py | |
parent | 920ed0c4187761b55d081e1eed7eb7fbbbe6e757 (diff) | |
parent | 70ee74c4798afe781788d40afe1923feff37d657 (diff) |
Merge branch 'master' into rpc_mgr
Diffstat (limited to 'src/python/grpcio_tests/tests/unit/_channel_ready_future_test.py')
-rw-r--r-- | src/python/grpcio_tests/tests/unit/_channel_ready_future_test.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/python/grpcio_tests/tests/unit/_channel_ready_future_test.py b/src/python/grpcio_tests/tests/unit/_channel_ready_future_test.py index 60d478bcd9..e0a7d15aa7 100644 --- a/src/python/grpcio_tests/tests/unit/_channel_ready_future_test.py +++ b/src/python/grpcio_tests/tests/unit/_channel_ready_future_test.py @@ -33,8 +33,6 @@ import threading import unittest import grpc -from grpc import _channel -from grpc import _server from tests.unit.framework.common import test_constants from tests.unit import _thread_pool @@ -79,7 +77,7 @@ class ChannelReadyFutureTest(unittest.TestCase): def test_immediately_connectable_channel_connectivity(self): thread_pool = _thread_pool.RecordingThreadPool(max_workers=None) - server = _server.Server(thread_pool, (), ()) + server = grpc.server(thread_pool) port = server.add_insecure_port('[::]:0') server.start() channel = grpc.insecure_channel('localhost:{}'.format(port)) |