test_ok2/changelog/11758.bugfix.rst

3 lines
156 B
ReStructuredText
Raw Normal View History

Fixed ``IndexError: string index out of range`` crash in ``if highlighted[-1] == "\n" and source[-1] != "\n"``.
This bug was introduced in pytest 8.0.0rc1.