eric7/DebugClients/Python/coverage/xmlreport.py

branch
eric7
changeset 8929
fcca2fa618bf
parent 8775
0802ae193343
child 9099
0e511e0e94a3
diff -r d856023fbeb0 -r fcca2fa618bf eric7/DebugClients/Python/coverage/xmlreport.py
--- a/eric7/DebugClients/Python/coverage/xmlreport.py	Sun Jan 16 20:28:42 2022 +0100
+++ b/eric7/DebugClients/Python/coverage/xmlreport.py	Sat Jan 22 14:44:56 2022 +0100
@@ -67,9 +67,9 @@
         xcoverage.setAttribute("version", __version__)
         xcoverage.setAttribute("timestamp", str(int(time.time()*1000)))
         xcoverage.appendChild(self.xml_out.createComment(
-            " Generated by coverage.py: %s " % __url__
+            f" Generated by coverage.py: {__url__} "
             ))
-        xcoverage.appendChild(self.xml_out.createComment(" Based on %s " % DTD_URL))
+        xcoverage.appendChild(self.xml_out.createComment(f" Based on {DTD_URL} "))
 
         # Call xml_file for each file in the data.
         for fr, analysis in get_analysis_to_report(self.coverage, morfs):

eric ide

mercurial