eric7/DebugClients/Python/coverage/xmlreport.py

branch
eric7-maintenance
changeset 9111
4ac66b6c33a4
parent 8929
fcca2fa618bf
diff -r 2b9bd8f97576 -r 4ac66b6c33a4 eric7/DebugClients/Python/coverage/xmlreport.py
--- a/eric7/DebugClients/Python/coverage/xmlreport.py	Mon May 02 15:53:05 2022 +0200
+++ b/eric7/DebugClients/Python/coverage/xmlreport.py	Wed Jun 01 13:48:49 2022 +0200
@@ -68,7 +68,7 @@
         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 @@
                     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))

eric ide

mercurial