Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 526 Bytes

9493.bugfix.rst

File metadata and controls

10 lines (8 loc) · 526 Bytes

Symbolic link components are no longer resolved in conftest paths. This means that if a conftest appears twice in collection tree, using symlinks, it will be executed twice. For example, given

tests/real/conftest.py tests/real/test_it.py tests/link -> tests/real

running pytest tests now imports the conftest twice, once as tests/real/conftest.py and once as tests/link/conftest.py. This is a fix to match a similar change made to test collection itself in pytest 6.0 (see 6523 for details).