def METHOD_NAME(
    monkeypatch,
    snap_arch,
):
    monkeypatch.setenv("SNAP_ARCH", snap_arch)
    with pytest.raises(errors.SnapcraftError) as raised:
        _get_miniconda_source("latest")
    assert str(raised.value) == (
        f"Architecture not supported for conda plugin: {snap_arch!r}"
    )