Opened 12 years ago

#3291 defect new

twisted.test.test_process.TestProcessProtocol reports failures poorly

Reported by: Jean-Paul Calderone Owned by:
Priority: low Milestone:
Component: core Keywords:
Cc: Branch:


TestProcessProtocol.childConnectionLost expects "1234" exactly to be written to stderr by the time it runs. If it is not, then it prints a message and raises a RuntimeError. This will eventually cause the test running to timeout and fail, which is better than nothing, but the error should be reported in a much better way that causes a sensible failure report to happen immediately.

Change History (1)

comment:1 Changed 9 years ago by <automation>

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