[Twisted-Python] SMTPConnectError as a side effect on connection lost

Glyph glyph at twistedmatrix.com
Sat Nov 25 22:36:26 MST 2017


> On Nov 25, 2017, at 8:52 PM, Adi Roiban <adi at roiban.ro> wrote:
> 
> Do you see anything suspicious with this code?

Just that it looks like it leaves a Deferred in an error state. You said the tests weren’t “written using” trial, but are you running them with trial, or with any runner that will consider a logged failure to be a failure? If so, the failure won’t be logged until the garbage collector runs, which might be in a later test.



More information about the Twisted-Python mailing list