def assert_not_match(pattern, string, msg=None):
 assert_none(re.search(pattern, string), msg)

def assert_not_match ( pattern , string , msg = None ) : assert_none ( re . search ( pattern , string ) , msg )
verify that the pattern does not match the string .