You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In openSUSE we observed 3 tests failing with the new version of Pygments (2.21.0).
test_py_utf8_html_error_template, test_utf8_format_exceptions_pygments and test_custom_tback now fail with AssertionErrors because of the quoting
The Pygments changelog lists HtmlFormatter: " and ' now render literally (https://github.com/pygments/pygments/pull/3185) which is probably the cause of these test failures
To Reproduce
Run the testsuite with Pygments 2.21.0
Activity
zzzeek commentedon Aug 18, 2026
OK, let's put up a fix, thanks for reporting
sqla-tester commentedon Aug 18, 2026
Mike Bayer has proposed a fix for this issue in the main branch:
Accommodate literal quote rendering in Pygments 2.21.0 https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6902
Accommodate literal quote rendering in Pygments 2.21.0
tiltingpenguin commentedon Aug 19, 2026
Thanks for the quick fix