Modify test_executing_style_defs to work with Pygments 2.19
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
If you want me to create a new issue, I am happy to do that.
@MeggyCal, apparently if you do:
FIX_STACK_DATA_TESTS=1 pytest
it fixes one of the failing tests.
@mgorny thanks, I'll try that
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