def METHOD_NAME():
    def get_dirs(version_info):
        return {
            p.path.replace(str(typeshed.TYPESHED_PATH), '').lstrip(os.path.sep)
            for p in typeshed._get_typeshed_directories(version_info)
        }
    def transform(set_):
        return {x.replace('/', os.path.sep) for x in set_}
    dirs = get_dirs(PythonVersionInfo(3, 7))
    assert dirs == transform({'stdlib/2and3', 'stdlib/3', 'stdlib/3.7',
                              'third_party/2and3',
                              'third_party/3', 'third_party/3.7'})