[3.11] gh-111159: Fix doctest output comparison for exceptions with notes (GH-111160)#111170
Merged
Merged
doctest output comparison for exceptions with notes (GH-111160)#111170