Can't use relative imports from conftest.py in test package with --import-mode=importlib #7652
Labels
topic: collection
related to the collection phase
topic: config
related to config handling, argument parsing and config file
With tests outside application code in a tests package containing conftest.py,
pytest --import-mode=importlib
doesn't import conftest as part of the package.Example
Files:
Repro:
Environment
macOS 10.13.6, Python 3.7.3, pytest 6.0.1
The text was updated successfully, but these errors were encountered: