omry / omegaconf

Flexible Python configuration system. The last one you will ever need.
BSD 3-Clause "New" or "Revised" License
1.94k stars 105 forks source link

pytest: explicitly add pwd to pythonpath #1031

Closed Jasha10 closed 1 year ago

Jasha10 commented 1 year ago

Recent versions of pytest no longer (by default) add pwd to the PYTHONPATH. This affects module discovery and can lead to errors like No module named 'tests.conftest' when running pytest locally. This commit modifies pyproject.toml configuring pytest's pythonpath to include pwd by default.