diff options
author | Craig Tiller <ctiller@ctiller2.mtv.corp.google.com> | 2016-03-21 10:49:14 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@ctiller2.mtv.corp.google.com> | 2016-03-21 10:49:14 -0700 |
commit | c65ed870ed45522194c0fcb884c9098672ac35ba (patch) | |
tree | c9ddfbda5e82e0c53033cbcb8ddec5949cf32eab /src/python/grpcio/tests/unit/_links/_proto_scenarios.py | |
parent | 44654553de6edffa61f60f725dacbcdb89bdca72 (diff) | |
parent | b08ee7a260d0f274554892cd3138215ab905ce77 (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.py | 7 |
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): |