Describe the bug
Having a test with same name but on a different path causes pytest collections errors.
Switch pytest to --import-mode=importlib so test modules no longer require package-style __init__.py files,
To reproduce
Steps to reproduce the behavior:
- Create two test files with the same name and place them in different directories.
- Run pytest and observe the collection errors.
Expected behavior
It would be nice if different unrelated repositories didn't need to know about each other's file names.
Screenshots
If applicable, add screenshots/plots to help explain your problem.
Desktop (please complete the following information):
- OS: All
- Version Any
- Python version > 7.4
Additional context
Add any other context about the problem or potential solution paths here.
Describe the bug
Having a test with same name but on a different path causes pytest collections errors.
Switch pytest to
--import-mode=importlibso test modules no longer require package-style__init__.pyfiles,To reproduce
Steps to reproduce the behavior:
Expected behavior
It would be nice if different unrelated repositories didn't need to know about each other's file names.
Screenshots
If applicable, add screenshots/plots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem or potential solution paths here.