Update src/_pytest/config/__init__.py
Co-authored-by: Ran Benita <ran@unusedvar.com>
This commit is contained in:
parent
b85b386b1e
commit
84bdd6f50e
|
@ -578,7 +578,7 @@ class PytestPluginManager(PluginManager):
|
||||||
self._try_load_conftest(invocation_dir, importmode, rootpath)
|
self._try_load_conftest(invocation_dir, importmode, rootpath)
|
||||||
|
|
||||||
def _is_in_confcutdir(self, path: Path) -> bool:
|
def _is_in_confcutdir(self, path: Path) -> bool:
|
||||||
"""Whether consider the given path to load conftests from."""
|
"""Whether to consider the given path to load conftests from."""
|
||||||
if self._confcutdir is None:
|
if self._confcutdir is None:
|
||||||
return True
|
return True
|
||||||
# The semantics here are literally:
|
# The semantics here are literally:
|
||||||
|
|
Loading…
Reference in New Issue