'Assert that the C{tb} traceback contains a particular C{prefix} and
C{suffix}.
@param tb: The traceback string.
@type tb: C{str}
@param prefix: The string that C{tb} should start with.
@type prefix: C{str}
@param suffix: The string that C{tb} should end with.
@type suffix: C{str}'

def assertTracebackFormat(self, tb, prefix, suffix):

    self.assertStartsWith(tb, prefix)
    self.assertEndsWith(tb, suffix)
