A RetroSearch Logo

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

Search Query:

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

Confusing branching failure · Issue #493 · nedbat/coveragepy · GitHub

Originally reported by Joe Doherty (Bitbucket: docapotamus, GitHub: docapotamus)

Hello,

I have a strange issue with coverage since upgrading to 4.1

I am getting a branch failure which I know I have a test for. The file: https://codecov.io/gh/pjuu/pjuu/src/508aafc3f35814677fa6d29e555e8636efab0bb8/pjuu/lib/tokens.py

If I change the code and remove the else and add a print, the print shows. However I get a failure on the print saying it isn't covered.

Not sure if this is intended and I can't see any obvious as to why this would fail.

Thanks in advance.


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