Skip to content

Yielded twisted failure marked as missed #440

@nedbat

Description

@nedbat

Originally reported by Jakob de Maeyer (Bitbucket: jdemaeyer, GitHub: jdemaeyer)


Hi,

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 inlineCallbacks magic.

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 :/


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions