TYP: remove ignores from set_testing_mode and reset_testing_mode
xref #37715

The error message is self-explanatory although the original code passing a tuple seemed to work also, although not documented.

