ruff_python_formatter: add test for extraneous info string text (#9050)
@ofek asked [about this][ref]. I did specifically add support for it,
but neglected to add a test. This PR adds a test.
[ref]:
https://github.com/astral-sh/ruff/pull/9030#issuecomment-1846054764