src/eric7/Testing/Interfaces/UnittestExecutor.py

branch
eric7-maintenance
changeset 10079
0222a480e93d
parent 9654
7328efba128b
parent 10069
435cc5875135
child 10460
3b34efa2857c
--- a/src/eric7/Testing/Interfaces/UnittestExecutor.py	Tue May 02 10:20:23 2023 +0200
+++ b/src/eric7/Testing/Interfaces/UnittestExecutor.py	Sat May 27 19:02:58 2023 +0200
@@ -80,7 +80,7 @@
 
         return {}
 
-    def hasCoverage(self, interpreter):
+    def hasCoverage(self, interpreter):  # noqa: U100
         """
         Public method to get the test framework version and version information
         of its installed plugins.
@@ -92,7 +92,7 @@
         """
         return True
 
-    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.
@@ -238,7 +238,7 @@
                     description=data["description"],
                     message=message,
                     extra=tracebackLines,
-                    duration=data.get("duration_ms", None),
+                    duration=data.get("duration_ms"),
                     filename=filename,
                     lineno=lineno,
                     subtestResult=data.get("subtest", False),

eric ide

mercurial