src/eric7/Testing/Interfaces/PytestExecutor.py

branch
eric7
changeset 10050
3750abc45d5e
parent 9653
e67609152c5e
child 10069
435cc5875135
--- a/src/eric7/Testing/Interfaces/PytestExecutor.py	Mon May 22 08:46:00 2023 +0200
+++ b/src/eric7/Testing/Interfaces/PytestExecutor.py	Mon May 22 09:07:37 2023 +0200
@@ -297,7 +297,7 @@
                 for heading, text in sections:
                     extraText += "----- {0} -----\n{1}".format(heading, text)
 
-            duration = data.get("duration_s", None)
+            duration = data.get("duration_s")
             if duration:
                 # convert to ms
                 duration *= 1000

eric ide

mercurial