Skip to content

Conversation

@Pierre-Sassoulas
Copy link
Member

Previousely the added test case would output:
"...Full output truncated (0 lines hidden), use '-vv' to show"

Also removed some useless complexity.

@Pierre-Sassoulas Pierre-Sassoulas added the skip news used on prs to opt out of the changelog requirement label Jan 11, 2026
Previousely the added test case would output:
"...Full output truncated (0 lines hidden), use '-vv' to show"
Copy link
Member

@bluetech bluetech left a comment

Choose a reason for hiding this comment

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

Thanks! Please see my comments.

@Pierre-Sassoulas Pierre-Sassoulas marked this pull request as draft January 12, 2026 15:09
@Pierre-Sassoulas
Copy link
Member Author

Drafting because I realized that there's a lot of optimization that can still be done.

Better check the theory and the len of the string to know if we're going
to truncate rather than checking the full length of the result after the
fact.
@Pierre-Sassoulas Pierre-Sassoulas marked this pull request as ready for review January 13, 2026 13:16
Copy link
Member

@bluetech bluetech left a comment

Choose a reason for hiding this comment

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

Thanks for splitting, looks good, thanks!

@Pierre-Sassoulas Pierre-Sassoulas merged commit fb525fd into pytest-dev:main Jan 13, 2026
43 of 62 checks passed
@Pierre-Sassoulas Pierre-Sassoulas deleted the truncation-check branch January 13, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news used on prs to opt out of the changelog requirement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants