TestRevertAndConvertAttrs.assertRegex# TestRevertAndConvertAttrs.assertRegex(text, expected_regex, msg=None)# Fail the test unless the text matches the regular expression.