pytest-dev / pytest-dev/pytest
Exit exception
Open
Nobody has claimed this yet.
plugin: xdist
type: enhancement
- Dominant language
- Python
- Stars
- 14.5k
- Forks
- 3.4k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 35
Description
We need to except Exit before this part of code:
and pass a message to xdist module
it needed for xdist:
original task:
https://github.com/pytest-dev/pytest-xdist/issues/86
I'm ready to create pull request, but I don't know how to pass a message to xdist module, Please, give me an advice. Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at _pytest/main.py lines 110-116 and review how Exit is handled before that code. Read the linked pytest-xdist issue to understand the required message handoff to xdist. Done means Exit is excluded at that point and the needed message reaches xdist.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100