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

[PR #13113/bdfc3a99 backport][8.3.x] Fix selftests with Pygments >= 2.19.0 #13116

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Jan 8, 2025

This is a backport of PR #13113 as merged into main (bdfc3a9).

With Pygments 2.19, the Python lexer now emits
Text.Whitespace (rather than Text) tokens after "def", which get highlighted as "bright black".

See pygments/pygments#1905

Fixes #13112

(also fixes the current CI failures, I hope!)

Fix selftests with Pygments >= 2.19.0

(cherry picked from commit bdfc3a9)
@The-Compiler
Copy link
Member

Force-merging as codecov seems to be asleep or something...

@The-Compiler The-Compiler merged commit 2c93423 into 8.3.x Jan 8, 2025
28 checks passed
@The-Compiler The-Compiler deleted the patchback/backports/8.3.x/bdfc3a99bd733f385f150446caef6d5843bb6418/pr-13113 branch January 8, 2025 17:36
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.

1 participant