Opened 15 years ago

Closed 15 years ago

#2445 defect closed duplicate (duplicate)

trial dumps on frame error

Reported by: gardnerpomper Owned by:
Priority: normal Milestone:
Component: trial Keywords:
Cc: Branch:

Description (last modified by Jean-Paul Calderone)

I run the attached code and I get this stack dump:

[ERROR]: sip_test.sipTest.testRegister

Traceback (most recent call last):
  File "/usr/bin/trial", line 24, in ?
  File "/usr/lib/python2.3/site-packages/twisted/scripts/", line 345, in run
    test_result =
  File "/usr/lib/python2.3/site-packages/twisted/trial/", line 798, in run
  File "/usr/lib/python2.3/site-packages/twisted/trial/", line 297, in printErrors
  File "/usr/lib/python2.3/site-packages/twisted/trial/", line 275, in _printResults
  File "/usr/lib/python2.3/site-packages/twisted/trial/", line 265, in _formatFailureTraceback
    fail.frames, frames = self._trimFrames(fail.frames), fail.frames
  File "/usr/lib/python2.3/site-packages/twisted/trial/", line 255, in _trimFrames
    last = newFrames[-1]
IndexError: list index out of range

Attachments (1) (1.7 KB) - added by gardnerpomper 15 years ago.
very very simple sip unit test

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by gardnerpomper

Attachment: added

very very simple sip unit test

comment:1 Changed 15 years ago by Jean-Paul Calderone

Description: modified (diff)

comment:2 Changed 15 years ago by Jean-Paul Calderone

Resolution: duplicate
Status: newclosed

Looks like a duplicate of #1901 - testRegister in the attachment isn't defined to take self.

comment:3 Changed 11 years ago by <automation>

Owner: Jonathan Lange deleted
Note: See TracTickets for help on using tickets.