mirror of
https://github.com/python/cpython.git
synced 2025-08-10 03:49:18 +00:00
[3.12] GH-115979: update test_importlib to work under WASI SDK 21 (GH-116754) (GH-116759)
GH-115979: update test_importlib to work under WASI SDK 21 (GH-116754)
(cherry picked from commit 61733a2fb9
)
Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
592c0e26c0
commit
0cc504771f
8 changed files with 44 additions and 27 deletions
|
@ -577,7 +577,7 @@ class PEP3147Tests:
|
|||
with util.temporary_pycache_prefix(pycache_prefix):
|
||||
self.assertEqual(
|
||||
self.util.cache_from_source(path, optimization=''),
|
||||
expect)
|
||||
os.path.normpath(expect))
|
||||
|
||||
@unittest.skipIf(sys.implementation.cache_tag is None,
|
||||
'requires sys.implementation.cache_tag to not be None')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue