diff -r fb9351497cea -r 0e511e0e94a3 eric7/DebugClients/Python/coverage/xmlreport.py --- a/eric7/DebugClients/Python/coverage/xmlreport.py Tue May 24 10:22:46 2022 +0200 +++ b/eric7/DebugClients/Python/coverage/xmlreport.py Tue May 24 11:00:52 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))