aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/distrib/python/distribtest.py
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-08-31 10:46:58 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-08-31 10:46:58 -0700
commitceb39ae60c0469d9e7933ac94f10c6e63db55536 (patch)
tree9414f2dce9989de7530d11c9c827afeda7788754 /test/distrib/python/distribtest.py
parent0c137e2e1f737d84e95805bf406a7f7e8938c065 (diff)
parent79d7d996002ff1a4d0523af1895c2e007fdba159 (diff)
Merge remote-tracking branch 'upstream/master' into http_connect
Diffstat (limited to 'test/distrib/python/distribtest.py')
-rw-r--r--test/distrib/python/distribtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/distrib/python/distribtest.py b/test/distrib/python/distribtest.py
index dc20688140..0125ee6a56 100644
--- a/test/distrib/python/distribtest.py
+++ b/test/distrib/python/distribtest.py
@@ -27,10 +27,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-from grpc.beta import implementations
+import grpc
# This code doesn't do much but makes sure the native extension is loaded
# which is what we are testing here.
-channel = implementations.insecure_channel('localhost', 1000)
+channel = grpc.insecure_channel('localhost:1000')
del channel
print 'Success!'