78 with contextlib.suppress(json.JSONDecodeError): |
78 with contextlib.suppress(json.JSONDecodeError): |
79 return json.loads(versionsStr) |
79 return json.loads(versionsStr) |
80 |
80 |
81 return {} |
81 return {} |
82 |
82 |
83 def hasCoverage(self, interpreter): # noqa: U100 |
83 def hasCoverage(self, interpreter): |
84 """ |
84 """ |
85 Public method to check, if the collection of coverage data is available. |
85 Public method to check, if the collection of coverage data is available. |
86 |
86 |
87 @param interpreter interpreter to be used for the test |
87 @param interpreter interpreter to be used for the test |
88 @type str |
88 @type str |
94 if proc.waitForFinished(3000): |
94 if proc.waitForFinished(3000): |
95 return proc.exitCode() == 0 |
95 return proc.exitCode() == 0 |
96 |
96 |
97 return False |
97 return False |
98 |
98 |
99 def supportsPatterns(self, interpreter): # noqa: U100 |
99 def supportsPatterns(self, _interpreter): |
100 """ |
100 """ |
101 Public method to indicate the support for test filtering using test name |
101 Public method to indicate the support for test filtering using test name |
102 patterns or a test name pattern expression. |
102 patterns or a test name pattern expression. |
103 |
103 |
104 @param interpreter interpreter to be used for the test |
104 @param _interpreter interpreter to be used for the test (unused) |
105 @type str |
105 @type str |
106 @return flag indicating support of markers |
106 @return flag indicating support of markers |
107 @rtype bool |
107 @rtype bool |
108 """ |
108 """ |
109 return True |
109 return True |