Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.

Conversation

@bukzor
Copy link

@bukzor bukzor commented Aug 10, 2020

I could instead add a more explicit --nothreading option, if you prefer, but this patch makes pytest-parallel a drop-in replacement for pytest-xdist (if you added -n as an alias for --workers), which is what we're using it as.

Even better would be to have the first "thread" of each process run in the main thread, and send anything marked with pytest.mark.threadunsafe to only main-thread workers. But that's a ton more work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant