Searched refs:parent_cls (Results 1 – 1 of 1) sorted by relevance
7 def IsMethodOverridden(parent_cls, child_cls, method_name): argument8 assert inspect.isclass(parent_cls), '%s should be a class' % parent_cls10 assert parent_cls.__dict__.get(method_name), '%s has no method %s' % (11 parent_cls, method_name)17 if parent_cls in child_cls.__bases__:26 IsMethodOverridden(parent_cls, base, method_name) for base in base_cls)