Skip to content

Conversation

@patchback
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.

2 participants