FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Skip symlink sibling test on Windows without symlink support by mulatmek · Pull Request #13792 · pytest-dev/pytest · GitHub

Skip symlink sibling test on Windows without symlink support - #13792

Merged
bluetech merged 1 commit into
pytest-dev:mainfrom
mulatmek:fix-windows-symlink-test
Oct 7, 2025
Merged

Skip symlink sibling test on Windows without symlink support#13792
bluetech merged 1 commit into
pytest-dev:mainfrom
mulatmek:fix-windows-symlink-test

Conversation

mulatmek commented Oct 6, 2025
edited
Loading

Copy link
Copy Markdown

Summary

On Windows environments without Developer Mode or admin privileges,
symlink creation is not supported. This caused
test_do_not_collect_symlink_siblings to fail even though pytest
behavior was correct.

This patch adds a skip condition to avoid false negatives.

Related issue

Closes #13771

Changelog

Added changelog/12039.bugfix.rst:

  • Skip test_do_not_collect_symlink_siblings on Windows without symlink support.

psf-chronographer Bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Oct 6, 2025

bluetech commented Oct 6, 2025

Copy link
Copy Markdown
Member

Issue #12039 is already closed. Was the fix not sufficient?

bluetech added the status: needs information reporter needs to provide more information; can be closed after 2 or more weeks of inactivity label Oct 6, 2025

mulatmek commented Oct 7, 2025

Copy link
Copy Markdown
Author

Issue #12039 is already closed. Was the fix not sufficient?

sorry, It was a mistake i fixed issue #13771

mulatmek force-pushed the fix-windows-symlink-test branch 2 times, most recently from 07c7fbb to cbf4928 Compare October 7, 2025 09:38
bluetech removed the status: needs information reporter needs to provide more information; can be closed after 2 or more weeks of inactivity label Oct 7, 2025
Comment thread testing/test_collection.py Outdated
mulatmek force-pushed the fix-windows-symlink-test branch 2 times, most recently from b421d7f to da454c7 Compare October 7, 2025 10:08
mulatmek force-pushed the fix-windows-symlink-test branch 2 times, most recently from 83f1a5e to f37d514 Compare October 7, 2025 10:20
bluetech enabled auto-merge October 7, 2025 10:23

mulatmek commented Oct 7, 2025

Copy link
Copy Markdown
Author

@bluetech Codecov failure is expected here since the diff only touches tests.

Comment thread testing/test_collection.py Outdated
auto-merge was automatically disabled October 7, 2025 11:35

Head branch was pushed to by a user without write access

mulatmek force-pushed the fix-windows-symlink-test branch from f6019be to f48ded3 Compare October 7, 2025 11:35
bluetech enabled auto-merge October 7, 2025 11:42
bluetech merged commit 1bed1d7 into pytest-dev:main Oct 7, 2025
33 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided (automation) changelog entry is part of PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

testing/test_collection.py::test_do_not_collect_symlink_siblings fails on Windows

2 participants


Back | FazBrowse Home | New Git URL