def METHOD_NAME(yaml_env: Path):
    res = helpers.umamba_repoquery(
        "depends", "-c", "conda-forge", "xtensor=0.24.5", "--tree"
    )
    if platform.system() == "Linux":
        assert "libzlib" in res
    elif platform.system() == "Darwin":
        assert "libcxx" in res
    elif platform.system() == "Windows":
        assert "vc" in res