human
I wrote the below code

    @functools.wraps(func)
    def wrapper(*a, **kw):
        try:
            func(*a, **kw)
        except FailTest as e:
            if e.args[0].startswith("'Failed    to    get    object    inventory    from    "):
                raise SkipTest('This    test    is    prone    to    intermittent    network    errors.    See    ticket    8753.    Exception    was:    {!r}'.format(e))
            raise
    return wrapper

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

def doNotFailOnNetworkError(func):