mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
bpo-33755: Fix importlib.resources isolation tests (#7412)
This commit is contained in:
parent
dde9fdbe45
commit
ac1ee1bada
2 changed files with 9 additions and 1 deletions
|
@ -549,6 +549,10 @@ class ZipSetupBase:
|
|||
except AttributeError:
|
||||
pass
|
||||
|
||||
def setUp(self):
|
||||
modules = support.modules_setup()
|
||||
self.addCleanup(support.modules_cleanup, *modules)
|
||||
|
||||
|
||||
class ZipSetup(ZipSetupBase):
|
||||
ZIP_MODULE = zipdata01 # type: ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue