Skip to content

Conversation

@manueldeprada
Copy link
Contributor

@manueldeprada manueldeprada commented Apr 21, 2025

After fixing #37477 with #37525, a proper test was pending, so we ensure unknown Exceptions are properly re-raised.

Thanks again Cyril for the helpful review and guidance in the previous PR! Let me know if the test is adequate :)

Who can review?

@Cyrilvallez

@manueldeprada manueldeprada marked this pull request as ready for review April 21, 2025 12:06
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Member

@Cyrilvallez Cyrilvallez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for adding it! 🤗

@manueldeprada manueldeprada merged commit 1cd110c into huggingface:main Apr 22, 2025
11 checks passed
@manueldeprada manueldeprada deleted the add-hub-test branch April 22, 2025 09:38
zucchini-nlp pushed a commit to zucchini-nlp/transformers that referenced this pull request May 14, 2025
…ed_files() (huggingface#37651)

* add test to ensure unknown exceptions are reraised in utils/hub.py::cached_files()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants