Skip to content

Commit 86eb4ec

Browse files
Fix a six.with_metaclass usage mistake
I made this mistake in 2010985 but only with yesterday's release of six 1.11.0 has it started failing ("TypeError: metaclass conflict: the metaclassof a derived class must be a (non-strict) subclass of the metaclasses of all its bases").
1 parent 22e89a8 commit 86eb4ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/python/grpcio_testing/grpc_testing/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def terminate(self, trailing_metadata, code, details):
213213
raise NotImplementedError()
214214

215215

216-
class Channel(six.with_metaclass(abc.ABCMeta), grpc.Channel):
216+
class Channel(six.with_metaclass(abc.ABCMeta, grpc.Channel)):
217217
"""A grpc.Channel double with which to test a system that invokes RPCs."""
218218

219219
@abc.abstractmethod

0 commit comments

Comments
 (0)