Opened 6 years ago

#3291 defect new

twisted.test.test_process.TestProcessProtocol reports failures poorly

Reported by: exarkun Owned by:
Priority: low Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

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 3 years ago by <automation>

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