def METHOD_NAME(version):
    try:
        env = get_system_environment(version)
    except InvalidPythonEnvironment:
        if int(version.replace('.', '')) == str(sys.version_info[0]) + str(sys.version_info[1]):
            # At least the current version has to work
            raise
        pytest.skip()
    assert version == str(env.version_info[0]) + '.' + str(env.version_info[1])
    assert env.get_sys_path()