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

terminalwriter: fix crash trying to highlight empty source #11760

Merged
merged 1 commit into from Jan 3, 2024

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Jan 2, 2024

For quick checking I don't know how we can reach here with an empty source, so test just checks the function directly.

Fix #11758.

For quick checking I don't know how we can reach here with an empty
source, so test just checks the function directly.

Fix pytest-dev#11758.
@bluetech bluetech added the needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch label Jan 2, 2024
@bluetech bluetech merged commit 2c5c97b into pytest-dev:main Jan 3, 2024
24 of 25 checks passed
@bluetech bluetech deleted the fix-highlight-empty-source branch January 3, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug with prerelease pytest
2 participants