Fixed IDLE tests after changing re error messages (issue #22578).
1 file changed