human
I wrote the below code

    def decorator(func):
        @functools.wraps(func)
        def wrapper(*args, **kw):
            if (sys.platform == 'darwin'):
                version_txt = platform.mac_ver()[0]
                try:
                    version = tuple(map(int, version_txt.split('.')))
                except ValueError:
                    pass
                else:
                    if (version < min_version):
                        min_version_txt = '.'.join(map(str, min_version))
                        raise unittest.SkipTest(('Mac    OS    X    %s    or    higher    required,    not    %s' % (min_version_txt, version_txt)))
            return func(*args, **kw)
        wrapper.min_version = min_version
        return wrapper
    return decorator

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

def requires_mac_ver(*min_version):