A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nedbat/coveragepy/issues/440 below:

Yielded twisted failure marked as missed · Issue #440 · nedbat/coveragepy · GitHub

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4