src/eric7/Testing/Interfaces/TestExecutorBase.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10079
0222a480e93d
child 10404
f7d9c31f0c38
diff -r 7febcdccb2a1 -r 435cc5875135 src/eric7/Testing/Interfaces/TestExecutorBase.py
--- a/src/eric7/Testing/Interfaces/TestExecutorBase.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/Testing/Interfaces/TestExecutorBase.py	Thu May 25 19:51:47 2023 +0200
@@ -140,7 +140,7 @@
 
         return False
 
-    def getVersions(self, interpreter):
+    def getVersions(self, interpreter):  # noqa: U100
         """
         Public method to get the test framework version and version information
         of its installed plugins.
@@ -153,7 +153,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.
@@ -165,7 +165,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.
@@ -177,7 +177,7 @@
         """
         return False
 
-    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.
@@ -189,7 +189,7 @@
         """
         return False
 
-    def getMarkers(self, interpreter, workdir):
+    def getMarkers(self, interpreter, workdir):  # noqa: U100
         """
         Public method to get the list of defined markers.
 
@@ -265,7 +265,7 @@
         self.__process.start(config.interpreter, testArgs)
         running = self.__process.waitForStarted()
         if not running:
-            raise RuntimeError
+            raise RuntimeError("Test process did not start.")
 
     def finished(self):
         """

eric ide

mercurial