src/eric7/Testing/Interfaces/PytestExecutor.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10694
f46c1e224e8a
child 10928
46651e194fbe
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
84 if "plugins" in versions: 84 if "plugins" in versions:
85 return any(plugin["name"] == "pytest-cov" for plugin in versions["plugins"]) 85 return any(plugin["name"] == "pytest-cov" for plugin in versions["plugins"])
86 86
87 return False 87 return False
88 88
89 def supportsPatterns(self, interpreter): # noqa: U100 89 def supportsPatterns(self, _interpreter):
90 """ 90 """
91 Public method to indicate the support for test filtering using test name 91 Public method to indicate the support for test filtering using test name
92 patterns or a test name pattern expression. 92 patterns or a test name pattern expression.
93 93
94 @param interpreter interpreter to be used for the test 94 @param _interpreter interpreter to be used for the test (unused)
95 @type str 95 @type str
96 @return flag indicating support of markers 96 @return flag indicating support of markers
97 @rtype bool 97 @rtype bool
98 """ 98 """
99 return True 99 return True
100 100
101 def supportsMarkers(self, interpreter): # noqa: U100 101 def supportsMarkers(self, _interpreter):
102 """ 102 """
103 Public method to indicate the support for test filtering using markers and/or 103 Public method to indicate the support for test filtering using markers and/or
104 marker expressions. 104 marker expressions.
105 105
106 @param interpreter interpreter to be used for the test 106 @param _interpreter interpreter to be used for the test (unused)
107 @type str 107 @type str
108 @return flag indicating support of markers 108 @return flag indicating support of markers
109 @rtype bool 109 @rtype bool
110 """ 110 """
111 return True 111 return True

eric ide

mercurial