Skip to content

Commit

Permalink
Remove SiteDir, no longer needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 14, 2024
1 parent 114db55 commit d873fca
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions importlib_resources/tests/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import importlib_resources as resources
from ..abc import Traversable
from . import util
from .compat.py39 import os_helper
from .compat.py312 import import_helper


@contextlib.contextmanager
Expand Down Expand Up @@ -62,15 +60,6 @@ class OpenNamespaceZipTests(FilesTests, util.ZipSetup, unittest.TestCase):
ZIP_MODULE = 'namespacedata01'


class SiteDir:
def setUp(self):
self.fixtures = contextlib.ExitStack()
self.addCleanup(self.fixtures.close)
self.site_dir = self.fixtures.enter_context(os_helper.temp_dir())
self.fixtures.enter_context(import_helper.DirsOnSysPath(self.site_dir))
self.fixtures.enter_context(import_helper.isolated_modules())


class DirectSpec:
"""
Override behavior of ModuleSetup to write a full spec directly.
Expand Down

0 comments on commit d873fca

Please sign in to comment.