summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_util.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-03-13 21:31:09 (GMT)
committerGitHub <noreply@github.com>2024-03-13 21:31:09 (GMT)
commit0cc504771ff7b36293159d8a9f18757ed46ccfc5 (patch)
tree7bcf12c169fd1ca94808b3994b95adde41444e79 /Lib/test/test_importlib/test_util.py
parent592c0e26c00bf2bcfeb8e947000b10d518d41f86 (diff)
downloadcpython-0cc504771ff7b36293159d8a9f18757ed46ccfc5.zip
cpython-0cc504771ff7b36293159d8a9f18757ed46ccfc5.tar.gz
cpython-0cc504771ff7b36293159d8a9f18757ed46ccfc5.tar.bz2
[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 61733a2fb9dc36d2246d922146a3462a2248832d) Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'Lib/test/test_importlib/test_util.py')
-rw-r--r--Lib/test/test_importlib/test_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_util.py b/Lib/test/test_importlib/test_util.py
index 217c1ad..e018af2 100644
--- a/Lib/test/test_importlib/test_util.py
+++ b/Lib/test/test_importlib/test_util.py
@@ -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')