diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2022-05-01 08:16:06 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-05-01 13:00:38 -0400 |
| commit | 420c01394a31415d7a7cbb80be196bcfca48482c (patch) | |
| tree | d71672faede9de984c024eadc678ae05ff5af558 /coverage/xmlreport.py | |
| parent | 53f00a00b7cfb5e856136ea600844160746d6ae2 (diff) | |
| download | python-coveragepy-git-420c01394a31415d7a7cbb80be196bcfca48482c.tar.gz | |
style: parens should indent the same as their opening line
Diffstat (limited to 'coverage/xmlreport.py')
| -rw-r--r-- | coverage/xmlreport.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/xmlreport.py b/coverage/xmlreport.py index ebc85de4..2c34cb54 100644 --- a/coverage/xmlreport.py +++ b/coverage/xmlreport.py @@ -68,7 +68,7 @@ class XmlReporter: xcoverage.setAttribute("timestamp", str(int(time.time()*1000))) xcoverage.appendChild(self.xml_out.createComment( f" Generated by coverage.py: {__url__} " - )) + )) xcoverage.appendChild(self.xml_out.createComment(f" Based on {DTD_URL} ")) # Call xml_file for each file in the data. @@ -193,7 +193,7 @@ class XmlReporter: xline.setAttribute( "condition-coverage", "%d%% (%d/%d)" % (100*taken//total, taken, total) - ) + ) if line in missing_branch_arcs: annlines = ["exit" if b < 0 else str(b) for b in missing_branch_arcs[line]] xline.setAttribute("missing-branches", ",".join(annlines)) |
