This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 101904 [details] Screenshot showing the bug When I do check code coverage and it comes to a simple if / else statement, it always marks the "else:" line red, even though the lines executed in the else section are green. That should mean that the "else:" line was executed, otherwise Python wouldn't have reached those lines. See the attached screenshot, it was tested with a basic unit test of: self.assertTrue(test_func(True)) self.assertFalse(test_func(False)) I have not tested on other platforms that Windows 7, but I presume it is cross platform. I have neither tested with 6.10, I could do that if requested.
We are planning to work on that. This will be tracked elsewhere. Closing this old bug.
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.