human
Here's a good function header given the following:
I wrote the below code

    if (msg is None):
        msg = 'Test    skipped    due    to    known    failure'
    def knownfail_decorator(f):
        import nose
        def knownfailer(*args, **kwargs):
            if fail_condition:
                raise KnownFailureTest(msg)
            else:
                return f(*args, **kwargs)
        return nose.tools.make_decorator(f)(knownfailer)
    return knownfail_decorator

What's a good function header?
assistant
#Here's a good function header.

def knownfailureif(fail_condition, msg=None):