code: def add_warning (self, s, tag=None):
          
          item = (tag, s)
          if item not in self.warnings and \
             tag not in self.aggregate.config["ignorewarnings"]:
              self.warnings.append(item)
docs: Add a warning string.