'A C{_Traceback} object constructed with multiple frames should be able
to be passed to L{traceback.extract_tb}, and we should get a list
containing a tuple for each frame.'

def test_manyFrames(self):

    tb = failure._Traceback([['method1', 'filename.py', 123, {}, {}], ['method2', 'filename.py', 235, {}, {}]])
    self.assertEqual(traceback.extract_tb(tb), [_tb('filename.py', 123, 'method1', None), _tb('filename.py', 235, 'method2', None)])
