environment/lib/python2.7/site-packages/nose/plugins/attrib.py
def get_method_attr(method, cls, attr_name, default = False):
    """Look up an attribute on a method/ function. 
    If the attribute isn't found there, looking it up in the
    method's class, if any.
    """
    Missing = object()
    value = getattr(method, attr_name, Missing)
    if value is Missing and cls is not None:
        value = getattr(cls, attr_name, Missing)
    if value is Missing:
        return default
    return value
def get_method_attr(method, cls, attr_name, default = False):
    """Look up an attribute on a method/ function. 
    If the attribute isn't found there, looking it up in the
    method's class, if any.
    """
    Missing = object()
    value = getattr(method, attr_name, Missing)
    if value is Missing and cls is not None:
        value = getattr(cls, attr_name, Missing)
    if value is Missing:
        return default
    return value
def get_method_attr ( method , cls , attr_name , default = False ) : Missing = object ( ) value = getattr ( method , attr_name , Missing ) if value is Missing and cls is not None : value = getattr ( cls , attr_name , Missing ) if value is Missing : return default return value
Look up an attribute on a method/ function. 
    If the attribute isn't found there, looking it up in the
    method's class, if any.
Look up an attribute on a method / function . If the attribute isn t found there looking it up in the method s class if any .