human
I wrote the below code

    @wraps(test_method)
    def wrapper(case, *args, **kwargs):
        test_file = FilePath(case.mktemp())
        test_file.touch()
        test_file.chmod(0)
        permissions = test_file.getPermissions()
        test_file.chmod(511)
        if (permissions != Permissions(0)):
            raise SkipTest("Can't    run    test    on    filesystem    with    broken    permissions.")
        return test_method(case, *args, **kwargs)
    return wrapper

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

def skip_on_broken_permissions(test_method):