Return an empty list directly.
This commit is contained in:
parent
8e0589af69
commit
f78b6df8bc
|
@ -239,7 +239,7 @@ class PytestPluginManager(PluginManager):
|
|||
|
||||
def _getconftestmodules(self, path):
|
||||
if self._noconftest:
|
||||
self._path2confmods[path] = []
|
||||
return []
|
||||
try:
|
||||
return self._path2confmods[path]
|
||||
except KeyError:
|
||||
|
|
Loading…
Reference in New Issue