Issue #25211: Eliminate lazy error message class by using subTest

Some of the calls to the Frm class were buggy anyway.
1 file changed