Fix traceback related test on Python 3.11. #4401
Fix traceback related test on Python 3.11. #4401

Filter away new `^^^` lines showing where the error occurred.

robotframework/robotframework,robotframework/robotframework,robotframework/robotframework