in this except clause (lines 75 through 81), we catch all exceptions, do some cleanup, and then reraise the exception by wrapping it in a
twisted.Failure. The whole function is wrapped inside twisted's
The coverage report (XML here, run with
timid = True) shows the variable assignment in line 80 being hit but the subsequent line being missed. An accompanying test passes when line 81 is there and fails when I remove it, so I'm pretty sure it should indeed be hit.
I tried to create a minimal working example here but failed, sorry :/