def METHOD_NAME(nebari_config):
    non_existent_file = pathlib.Path("/path/to/nonexistent/file.yaml")
    with pytest.raises(ValueError, match="does not exist"):
        read_configuration(non_existent_file, nebari_config.__class__)