You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ecdc8d5
Browse filesBrowse the repository at this point in the historyBrowse files
committed
fix: deduplicate Directory nodes on re-collection to preserve fixture identity (pytest-dev#14635)
When Session re-collects a parent Directory (handle_dupes=False for file
CLI args), fresh child nodes were created. Since fixture registration
uses node identity for matching, the new Directory children didn't match
fixtures registered with the original instances.
Reuse previously-seen Directory children (by path) when re-collecting a
parent. Module/File nodes are still recreated to preserve
--keep-duplicates semantics.
Co-authored-by: Cursor AI <[email protected]>
Co-authored-by: Anthropic Claude Opus 4 <[email protected]>
0 commit comments