Open
Description
Hey,
We just published a pytest plugin to automate running a test suite in parallel since this isn't possible with pytest-xdist.
https://pypi.org/project/pytest-freethreaded/
The pattern is loosely based on guidance in this repo.
We also discovered when running a couple of test suites some pretty nasty bugs, including a segfault in Pillow tonybaloney/pytest-freethreaded#11
Think it could be worth mentioning the plugin on the site (happy to submit a PR).
It's not designed to be run in CI since
- It would be really slow
- Concurrency bugs are not necessarily the fault of no-gil
Instead, I expect maintainers to run this a few times to help find any really nasty bugs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment