]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124402: Speed up test_free_threading and test_super (#124491)
authorVictor Stinner <vstinner@python.org>
Thu, 26 Sep 2024 08:53:17 +0000 (10:53 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Sep 2024 08:53:17 +0000 (10:53 +0200)
commit0387c34f7c91428681ca8a4ba4e3d22b9acffde4
tree725608ffb48a4cc86d347c75e1946236fb7fd188
parent08a467b537b3d9b499d060697e79b3950374ab0f
gh-124402: Speed up test_free_threading and test_super (#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.
Lib/test/test_free_threading/test_list.py
Lib/test/test_free_threading/test_monitoring.py
Lib/test/test_free_threading/test_type.py
Lib/test/test_super.py