Fix tests after changes from #12598
minor #12752 Fix tests after changes from #12598 (snoek09)

This PR was merged into the 2.7 branch.

Discussion
----------

Fix tests after changes from #12598

The messages in the UndefinedMethodFatalErrorHandlerTest have been updated to match the new format.

Commits
-------

9258547 Fix tests after changes from #12598