Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terminal: fix progress percentages not aligning correctly in xdist #12258

Merged
merged 2 commits into from Apr 28, 2024

Conversation

bluetech
Copy link
Member

Fix #7166.

The first commit is just preparation without logic changes. The second commit is the fix. After some consideration this is the least disruptive change I could come up with.

There is no test, because it's hard to come up with a deterministic test for this without manually orchestrating hook calls, which is too much effort for me. I manually tested scenarios I could think of.

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for resolving this!

@bluetech bluetech merged commit ebc4540 into pytest-dev:main Apr 28, 2024
24 checks passed
@bluetech bluetech deleted the xdist-align branch April 28, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Percentages don't align correctly
2 participants