{{ message }}
test: focus pytest summary on unexpected failures - #2203
Merged
Byron merged 2 commits intoAug 4, 2026
Conversation
Use pytest's failure and error summary modes so expected-failure details do not obscure unexpected failures while retaining aggregate counts. Assisted-by: OpenAI Codex Signed-off-by: raisulchowdhury <34920788+raisulchowdhury@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the project’s pytest default options to reduce verbose reporting of expected failures (xfail) so CI output makes unexpected failures easier to spot, addressing #1891.
Changes:
- Switch pytest “extra summary” flags from
-ra(all non-passing, including xfail details) to-rfE(failures + errors only). - Adjust the inline comment describing the summary mode.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Byron
requested changes
Aug 1, 2026
Byron
left a comment
Member
There was a problem hiding this comment.
Thanks!
I do, however, think that the copilot comment should be looked into.
Include XPASS results while still omitting expected-failure detail, and document the exact report flags.\n\nAssisted-by: OpenAI Codex Signed-off-by: raisulchowdhury <34920788+raisulchowdhury@users.noreply.github.com>
Contributor
Author
Contributor
Author
|
The Copilot points are addressed in |
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Fixes #1891
Validation
The full GitPython suite was not run because its setup script mutates repository branches, tags, and reflogs; the focused reporter fixture directly exercises this configuration change.
Assisted-by: OpenAI Codex. AI assistance was used for investigation and implementation; the submitted diff and validation were reviewed before publication.