def warning(self, message, *args, **kwargs):
warncls = kwargs.pop('<STR_LIT>', None)<EOL>if warncls and self.raise_warnings:<EOL><INDENT>warnings.warn(message, warncls)<EOL><DEDENT>return self.log(logging.WARNING, message, *args, **kwargs)<EOL>
Specialized warnings system. If a warning subclass is passed into
the keyword arguments and raise_warnings is True - the warnning will
be passed to the warnings module.