Change deprecated Exception.message to Exception.args-[0] where the use of
.message is not an essential part of the test.
Issue #22614: Don't try to update deleted text.  Patch by Serhiy Storchaka.