<div dir="ltr">Greetings, testy people.  Thanks for this excellent package!<div><br><div><br></div><div>I discovered coverage.py last week and have been dropping it into various projects I&#39;m on.  One of them only has a strangeness and I&#39;d like to figure it out.</div><div><br></div><div>The project is quite vanilla and doesn&#39;t use any of the trouble techniques listed here:  <a href="https://coverage.readthedocs.io/en/coverage-4.3.4/trouble.html">https://coverage.readthedocs.io/en/coverage-4.3.4/trouble.html</a>  </div><div><br></div><div><div>--timid had no effect.</div></div><div><br></div><div><br></div><div>The issue: when I run coverage <a href="http://coverage run -m unittest discover test \*_test.py">from setup.py</a> this file <a href="https://github.com/ManiacalLabs/BiblioPixel/blob/dev/bibliopixel/gamma.py">gamma.py</a> is marked as having only 6% coverage - nothing except line <a href="https://github.com/ManiacalLabs/BiblioPixel/blob/dev/bibliopixel/gamma.py#L14">14</a>.   </div><div><br></div><div>I don&#39;t even see how that would be possible, but more, there&#39;s an explicit test that at least <a href="https://github.com/ManiacalLabs/BiblioPixel/blob/dev/test/gamma_test.py">loads the file</a>, even if it doesn&#39;t test the values - and yes, I can see that test run in my results.<br></div></div><div><div><br></div><div><div>If I run coverage.py from the command line, like this:</div><div><br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font face="monospace, monospace">coverage run -m unittest discover test \*_test.py .</font></blockquote><div></div><div><br></div><div> I see 100% coverage as expected. </div></div><div><br></div><div><div><br></div><div><br></div><div>Generally, I hate hitting up mailing lists until I have had a chance to debug the package I&#39;m whining about ;-), but in this case I&#39;m really not quite sure how to debug coverage.py, and I see no bug report I can camp on.  (I don&#39;t think <a href="https://bitbucket.org/ned/coveragepy/issues/280/allow-test-suite-run-via-python-setuppy">this one</a> is it...)</div><div><br></div><div>Thanks in advance!</div><div><div><br></div>-- <br><div class="gmail_signature">     /t<br><br><a href="http://radio.swirly.com" target="_blank">http://radio.swirly.com</a> - art music radio 24/7 366/1000</div>
</div></div></div>