def wantClass(self, cls):
declared = getattr(cls, '<STR_LIT>', None)<EOL>if declared is not None:<EOL><INDENT>wanted = declared<EOL><DEDENT>else:<EOL><INDENT>wanted = (not cls.__name__.startswith('<STR_LIT:_>')<EOL>and (issubclass(cls, unittest.TestCase)<EOL>or self.matches(cls.__name__)))<EOL><DEDENT>plug_wants = self.plugins.wantClass(cls)        <EOL>if plug_wants is not None:<EOL><INDENT>log.debug("<STR_LIT>", cls, plug_wants)<EOL>wanted = plug_wants<EOL><DEDENT>log.debug("<STR_LIT>", cls, wanted)<EOL>return wanted<EOL>
Is the class a wanted test class?

        A class must be a unittest.TestCase subclass, or match test name
        requirements. Classes that start with _ are always excluded.