Fixed mistake in test for f-string error description (GH-22036) (GH-22059) (GH-22060)

(cherry picked from commit 749ed85e4446f548e22934931241f644a33d81ce)

Co-authored-by: han-solo <hanish0019@gmail.com>

Co-authored-by: han-solo <hanish0019@gmail.com>
2 files changed