'Utility assertion: assert that the given message doesn\'t exist in the output'

def assertNotInOutput(self, stream, msg):

    stream = force_text(stream)
    self.assertFalse((msg in stream), (u"'%s'    matches    actual    output    text    '%s'" % (msg, stream)))
