Skip to content

terminalwriter: fix crash trying to highlight empty source#11760

Merged
bluetech merged 1 commit intopytest-dev:mainfrom
bluetech:fix-highlight-empty-source
Jan 3, 2024
Merged

terminalwriter: fix crash trying to highlight empty source#11760
bluetech merged 1 commit intopytest-dev:mainfrom
bluetech:fix-highlight-empty-source

Conversation

@bluetech
Copy link
Copy Markdown
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
@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