Hey.<br><br>I&#39;m experiencing some strange behavior. I have a loop, and when I continue to the next element on some condition, it told me that line wasn&#39;t covered. Then, I put a pdb.set_trace() in, and I saw that it was, in fact, being run. I put a raise ValueError() instead of that &quot;continue&quot;, and it raised. I replaced &quot;continue&quot; with &quot;break&quot;, and now coverage.py thinks the line is covered.<br>

<br>What could be going on? Here&#39;s the diff:<br><br>=== modified file &#39;twisted/positioning/nmea.py&#39;<br>--- twisted/positioning/nmea.py    2011-07-02 18:40:44 +0000<br>+++ twisted/positioning/nmea.py    2011-07-02 21:14:31 +0000<br>

@@ -552,7 +552,7 @@<br>             prn, azimuth, elevation, snr = values<br> <br>             if prn is None or snr is None:<br>-                break<br>+                continue<br> <br>             satellite = base.Satellite(prn, azimuth, elevation, snr)<br>

             self._sentenceData[&#39;_partialBeaconInformation&#39;].beacons.add(satellite)<br><br><br>The code lives in lp:~lvh/twisted/positioning.<br><br clear="all">The strange thing is even trial --coverage (which is unrelated to coverage.py...) thinks it&#39;s not covered. How can that be?<br>

 <br>cheers<div>lvh</div><br>