Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More limited setup -> setupclass conversion #37282

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

Rocketknight1
Copy link
Member

This PR tries replacing expensive setUp() methods, which are run once per test, with setUpClass() methods that are run only once for the whole suite. It should improve test times and reduce instances of connection failures / DOSing the Hub.

@Rocketknight1 Rocketknight1 marked this pull request as ready for review April 4, 2025 14:47
@github-actions github-actions bot requested a review from ydshieh April 4, 2025 14:47
@cyyever
Copy link
Contributor

cyyever commented Apr 4, 2025

Simple error

@ydshieh ydshieh removed their request for review April 4, 2025 15:37
@ydshieh
Copy link
Collaborator

ydshieh commented Apr 4, 2025

request a review from me once ready 🙏

@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.

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.

4 participants