diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-03-13 21:31:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 21:31:09 (GMT) |
commit | 0cc504771ff7b36293159d8a9f18757ed46ccfc5 (patch) | |
tree | 7bcf12c169fd1ca94808b3994b95adde41444e79 /Lib/test/test_importlib/test_util.py | |
parent | 592c0e26c00bf2bcfeb8e947000b10d518d41f86 (diff) | |
download | cpython-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.py | 2 |
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') |