File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -320,6 +320,7 @@ Mike Hoyle (hoylemd)
320320Mike Lundy
321321Milan Lesnek
322322Miro Hrončok
323+ Mulat Mekonen
323324mrbean-bremen
324325Nathan Goldbaum
325326Nathan Rousseau
Original file line number Diff line number Diff line change 1+ Skip `test_do_not_collect_symlink_siblings ` on Windows environments without symlink support to avoid false negatives.
Original file line number Diff line number Diff line change @@ -1871,7 +1871,8 @@ def test_do_not_collect_symlink_siblings(
18711871 """
18721872 # Use tmp_path because it creates a symlink with the name "current" next to the directory it creates.
18731873 symlink_path = tmp_path .parent / (tmp_path .name [:- 1 ] + "current" )
1874- assert symlink_path .is_symlink () is True
1874+ if not symlink_path .is_symlink (): # pragma: no cover
1875+ pytest .skip ("Symlinks not supported in this environment" )
18751876
18761877 # Create test file.
18771878 tmp_path .joinpath ("test_foo.py" ).write_text ("def test(): pass" , encoding = "UTF-8" )
You can’t perform that action at this time.
0 commit comments