stack_data icon indicating copy to clipboard operation
stack_data copied to clipboard

Modify test_executing_style_defs to work with Pygments 2.19

Open MeggyCal opened this issue 11 months ago • 4 comments

Two other tests are failing in our environment, test_core.py:test_pygments_example and test_serializer.py:test_example, but those fail since 2023 and I couldn't get to the bottom of them. Anyway, I have expected and actual output of the second failing test cut at double newlines for readability (didn't help much). expected.txt actual.txt

MeggyCal avatar Jan 20 '25 13:01 MeggyCal

If you want me to create a new issue, I am happy to do that.

MeggyCal avatar Jan 20 '25 13:01 MeggyCal

@MeggyCal, apparently if you do:

FIX_STACK_DATA_TESTS=1 pytest

it fixes one of the failing tests.

mgorny avatar Mar 04 '25 18:03 mgorny

@mgorny thanks, I'll try that

MeggyCal avatar Mar 05 '25 07:03 MeggyCal

Used to patch a bit more as white-space now rendered a bit different color for functions, so it allowed to pass tests for Alpinelinux

andypost avatar Apr 29 '25 23:04 andypost