diff options
author | 2016-03-21 15:45:28 -0700 | |
---|---|---|
committer | 2016-03-21 15:45:28 -0700 | |
commit | e5b19fe84f0c4b473872632553b3cf5b21e82e60 (patch) | |
tree | 94f2f3e5c804a093558adeb18a9b7236f6b9a05d /src/python/grpcio/tests/unit/framework/face/testing/event_invocation_synchronous_event_service_test_case.py | |
parent | 3c3763b8b67a580b51023178ec78fe152df742d4 (diff) | |
parent | fb6e13b1b5ba135220c7be1edf3fb6f92e79872b (diff) |
Merge github.com:grpc/grpc into fuzzy-bits
Diffstat (limited to 'src/python/grpcio/tests/unit/framework/face/testing/event_invocation_synchronous_event_service_test_case.py')
-rw-r--r-- | src/python/grpcio/tests/unit/framework/face/testing/event_invocation_synchronous_event_service_test_case.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/python/grpcio/tests/unit/framework/face/testing/event_invocation_synchronous_event_service_test_case.py b/src/python/grpcio/tests/unit/framework/face/testing/event_invocation_synchronous_event_service_test_case.py index 179f3a2f67..b707dcdf6c 100644 --- a/src/python/grpcio/tests/unit/framework/face/testing/event_invocation_synchronous_event_service_test_case.py +++ b/src/python/grpcio/tests/unit/framework/face/testing/event_invocation_synchronous_event_service_test_case.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,6 +32,8 @@ import abc import unittest +import six + from grpc.framework.face import interfaces from tests.unit.framework.common import test_constants from tests.unit.framework.face.testing import callback as testing_callback @@ -43,12 +45,12 @@ from tests.unit.framework.face.testing import test_case class EventInvocationSynchronousEventServiceTestCase( - test_case.FaceTestCase, coverage.FullCoverage): + six.with_metaclass(abc.ABCMeta, + test_case.FaceTestCase, coverage.FullCoverage)): """A test of the Face layer of RPC Framework. Concrete subclasses must also extend unittest.TestCase. """ - __metaclass__ = abc.ABCMeta def setUp(self): """See unittest.TestCase.setUp for full specification. |