<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Vu,<br>
<br>
This is an interesting question :) If you don't mind me asking, why
do you want the covered lines, and why don't the existing reports
suit your need? The XML report is the most machine-readable, you
might find that easier than dealing with the annotated files.<br>
<br>
The standard library isn't covered unless you ask for it with the
--pylib switch on "run".<br>
<br>
--Ned.<br>
<br>
<div class="moz-cite-prefix">On 2/20/16 2:43 PM, ThanhVu (Vu) Nguyen
wrote:<br>
</div>
<blockquote
cite="mid:CA+OL+MhAM9YpDt8-NjD8vH9_CCXpg0fNORBTEnVFoFUuomzLAw@mail.gmail.com"
type="cite">
<div dir="ltr"><span style="font-size:12.8px">Hi, I am wondering
how to get the covered lines using python-coverage ? Running
python-coverage report -m gives you the uncovered/missed
lines. is there a similar option that gives the covered lines
? </span>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Currently to get the covered lines
I use python-coverage annotate and go through each of the
filename,cover source file and parse for those with prefix
">" . But this method of using annotate doesn't work for
standard library, it generates no filename,cover files. Is
this a known issue ? any work around ? </div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Thanks,</div>
<div style="font-size:12.8px"><br>
</div>
<div>
<div class="gmail_signature">Vu</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
testing-in-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a>
<a class="moz-txt-link-freetext" href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinfo/testing-in-python</a>
</pre>
</blockquote>
<br>
</body>
</html>