mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-114107: Fix importlib.resources symlink test if symlinks aren't supported (#114108)
gh-114107: Fix symlink test if symlinks aren't supported
This commit is contained in:
parent
ac44ec6206
commit
c361a1f395
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ import unittest
|
|||
import warnings
|
||||
import importlib.metadata
|
||||
import contextlib
|
||||
from test.support import os_helper
|
||||
|
||||
try:
|
||||
import pyfakefs.fake_filesystem_unittest as ffs
|
||||
|
@ -403,6 +404,7 @@ class PackagesDistributionsTest(
|
|||
|
||||
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue