Skip to content

Commit

Permalink
gh-114107: Fix symlink test if symlinks aren't supported (python/cpyt…
Browse files Browse the repository at this point in the history
  • Loading branch information
encukou authored and jaraco committed Mar 20, 2024
1 parent fb7465c commit 9a878d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_main.py
Expand Up @@ -5,6 +5,8 @@
import importlib
import importlib_metadata
import contextlib
from test.support import os_helper

import pyfakefs.fake_filesystem_unittest as ffs

from . import fixtures
Expand Down Expand Up @@ -396,6 +398,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 9a878d6

Please sign in to comment.