':param code: unused
:param str message: user friendly message about the warning
:param str|None nodeid: node id that generated the warning (see ``get_location``).
:param tuple|py.path.local fslocation:
file system location of the source of the warning (see ``get_location``).'

def __init__(self, code, message, nodeid=None, fslocation=None):

    self.code = code
    self.message = message
    self.nodeid = nodeid
    self.fslocation = fslocation
