| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hi. I also discovered this issue and I wrote PR #158937 to fix it. @StanFromIreland told me that @hugovk already wrote this fix. My PR moves @reap_threads on each test method rather than removing it, and it also adds a check to @reap_threads to detect misusage of the decorator (fails if the argument is a class). Would you mind to review my change? #158937 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The threading_helper.reap_threads decorator is intended for test functions, not classes, and applying it to the class means it didn't run:
https://github.com/python/cpython/actions/runs/37135589260/job/111239394429#step:19:2263
Removing it allows the tests to run:
https://github.com/hugovk/cpython/actions/runs/37135650674/job/111251480717#step:19:391
This wasn't visible before #158620 (except for occasional re-runs).
Originally added in #119438, cc @eendebakpt.