Skip to content

Commit

Permalink
Remove test_search_dist_dirs as it was never used. Ref #111.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jun 8, 2023
1 parent c10a5aa commit 4ebe490
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

from . import fixtures
from importlib_metadata import (
MetadataPathFinder,
_compat,
version,
)
Expand Down Expand Up @@ -52,14 +51,3 @@ def __getattribute__(self, name):

self.fixtures.enter_context(fixtures.install_finder(ModuleFreeFinder()))
_compat.disable_stdlib_finder()


class DistSearch(unittest.TestCase):
def test_search_dist_dirs(self):
"""
Pip needs the _search_paths interface to locate
distribution metadata dirs. Protect it for PyPA
use-cases (only). Ref python/importlib_metadata#111.
"""
res = MetadataPathFinder._search_paths('any-name', [])
assert list(res) == []

0 comments on commit 4ebe490

Please sign in to comment.