def _check_consistent_mro(self, node):
try:<EOL><INDENT>node.mro()<EOL><DEDENT>except InconsistentMroError:<EOL><INDENT>self.add_message("<STR_LIT>", args=node.name, node=node)<EOL><DEDENT>except DuplicateBasesError:<EOL><INDENT>self.add_message("<STR_LIT>", args=node.name, node=node)<EOL><DEDENT>except NotImplementedError:<EOL><INDENT>pass<EOL><DEDENT>
Detect that a class has a consistent mro or duplicate bases.