src/eric7/Testing/Interfaces/PytestExecutor.py

branch
eric7-maintenance
changeset 10079
0222a480e93d
parent 9654
7328efba128b
parent 10069
435cc5875135
child 10460
3b34efa2857c
--- a/src/eric7/Testing/Interfaces/PytestExecutor.py	Tue May 02 10:20:23 2023 +0200
+++ b/src/eric7/Testing/Interfaces/PytestExecutor.py	Sat May 27 19:02:58 2023 +0200
@@ -87,7 +87,7 @@
 
         return False
 
-    def supportsPatterns(self, interpreter):
+    def supportsPatterns(self, interpreter):  # noqa: U100
         """
         Public method to indicate the support for test filtering using test name
         patterns or a test name pattern expression.
@@ -99,7 +99,7 @@
         """
         return True
 
-    def supportsMarkers(self, interpreter):
+    def supportsMarkers(self, interpreter):  # noqa: U100
         """
         Public method to indicate the support for test filtering using markers and/or
         marker expressions.
@@ -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