summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/resources/test_files.py
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2024-03-12 23:46:31 (GMT)
committerThomas Wouters <thomas@python.org>2024-03-12 23:46:31 (GMT)
commit3f54d1cfe78f7c88fb0ecdbc250d9f8be092ec5a (patch)
tree04583120cbf299497dd52298e83a4d0a185a8df4 /Lib/test/test_importlib/resources/test_files.py
parent128fbdf97b64901fdc45db19c10f2c71351d41e8 (diff)
parenta53cc3f49463e50cb3e2b839b3a82e6bf7f73fee (diff)
downloadcpython-3f54d1cfe78f7c88fb0ecdbc250d9f8be092ec5a.zip
cpython-3f54d1cfe78f7c88fb0ecdbc250d9f8be092ec5a.tar.gz
cpython-3f54d1cfe78f7c88fb0ecdbc250d9f8be092ec5a.tar.bz2
Merge branch 'main' of https://github.com/python/cpython
Diffstat (limited to 'Lib/test/test_importlib/resources/test_files.py')
-rw-r--r--Lib/test/test_importlib/resources/test_files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/resources/test_files.py b/Lib/test/test_importlib/resources/test_files.py
index 1450cfb..26c8b04 100644
--- a/Lib/test/test_importlib/resources/test_files.py
+++ b/Lib/test/test_importlib/resources/test_files.py
@@ -70,7 +70,7 @@ class SiteDir:
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.CleanImport())
+ self.fixtures.enter_context(import_helper.isolated_modules())
class ModulesFilesTests(SiteDir, unittest.TestCase):