GH-115979: update test_importlib to work under WASI SDK 21 (GH-116754)

This commit is contained in:
Brett Cannon 2024-03-13 13:24:28 -07:00 committed by GitHub
parent 5ff012a449
commit 61733a2fb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 44 additions and 27 deletions

View file

@ -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')