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

[3.13] gh-124402: Speed up test_free_threading and test_super (#124491) #124585

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 26, 2024

  • Reduce the number of iterations and the number of threads so a whole test file takes less than a minute.
  • Refactor test_racing_iter_extend() to remove two levels of indentation.
  • test_monitoring() uses a sleep of 100 ms instead of 1 second.

(cherry picked from commit 0387c34)

…124491)

* Reduce the number of iterations and the number of threads so a
  whole test file takes less than a minute.
* Refactor test_racing_iter_extend() to remove two levels of
  indentation.
* test_monitoring() uses a sleep of 100 ms instead of 1 second.

(cherry picked from commit 0387c34)
@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Sep 26, 2024
@Yhg1s Yhg1s merged commit 6328446 into python:3.13 Sep 26, 2024
37 checks passed
@vstinner vstinner deleted the test_free_threading13 branch September 27, 2024 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants