Fail the test if the text matches the regular expression.
unittest/TestCase.assertNotRegex
TestCase.assertNotRegex