Skip to content

Commit

Permalink
gh-114107: Fix symlink test if symlinks aren't supported
Browse files Browse the repository at this point in the history
  • Loading branch information
encukou committed Jan 16, 2024
1 parent 17b73ab commit 49e78cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/test/test_importlib/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import warnings
import importlib.metadata
import contextlib
from test.support import os_helper

try:
import pyfakefs.fake_filesystem_unittest as ffs
Expand Down Expand Up @@ -403,6 +404,7 @@ def test_packages_distributions_all_module_types(self):

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

@os_helper.skip_unless_symlink
def test_packages_distributions_symlinked_top_level(self) -> None:
"""
Distribution is resolvable from a simple top-level symlink in RECORD.
Expand Down

0 comments on commit 49e78cd

Please sign in to comment.