aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/tests/unit/_links/_proto_scenarios.py
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@ctiller2.mtv.corp.google.com>2016-03-21 10:49:14 -0700
committerGravatar Craig Tiller <ctiller@ctiller2.mtv.corp.google.com>2016-03-21 10:49:14 -0700
commitc65ed870ed45522194c0fcb884c9098672ac35ba (patch)
treec9ddfbda5e82e0c53033cbcb8ddec5949cf32eab /src/python/grpcio/tests/unit/_links/_proto_scenarios.py
parent44654553de6edffa61f60f725dacbcdb89bdca72 (diff)
parentb08ee7a260d0f274554892cd3138215ab905ce77 (diff)
Merge github.com:grpc/grpc into idempotent
Diffstat (limited to 'src/python/grpcio/tests/unit/_links/_proto_scenarios.py')
-rw-r--r--src/python/grpcio/tests/unit/_links/_proto_scenarios.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/python/grpcio/tests/unit/_links/_proto_scenarios.py b/src/python/grpcio/tests/unit/_links/_proto_scenarios.py
index f69ff51b16..acd4891390 100644
--- a/src/python/grpcio/tests/unit/_links/_proto_scenarios.py
+++ b/src/python/grpcio/tests/unit/_links/_proto_scenarios.py
@@ -1,4 +1,4 @@
-# Copyright 2015, Google Inc.
+# Copyright 2015-2016, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -32,13 +32,14 @@
import abc
import threading
+import six
+
from tests.unit._junkdrawer import math_pb2
from tests.unit.framework.common import test_constants
-class ProtoScenario(object):
+class ProtoScenario(six.with_metaclass(abc.ABCMeta)):
"""An RPC test scenario using protocol buffers."""
- __metaclass__ = abc.ABCMeta
@abc.abstractmethod
def group_and_method(self):