Skip to content

Commit 9a878d6

Browse files
encukoujaraco
authored andcommitted
gh-114107: Fix symlink test if symlinks aren't supported (python/cpython#114108)
1 parent fb7465c commit 9a878d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_main.py

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import importlib
66
import importlib_metadata
77
import contextlib
8+
from test.support import os_helper
9+
810
import pyfakefs.fake_filesystem_unittest as ffs
911

1012
from . import fixtures
@@ -396,6 +398,7 @@ def test_packages_distributions_all_module_types(self):
396398

397399
assert not any(name.endswith('.dist-info') for name in distributions)
398400

401+
@os_helper.skip_unless_symlink
399402
def test_packages_distributions_symlinked_top_level(self) -> None:
400403
"""
401404
Distribution is resolvable from a simple top-level symlink in RECORD.

0 commit comments

Comments
 (0)