Skip to content

Commit

Permalink
Normalize a path being used in a comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon committed Mar 13, 2024
1 parent 0330714 commit ced0a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_importlib/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def test_cache_from_source_respects_pycache_prefix_relative(self):
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')
Expand Down

0 comments on commit ced0a18

Please sign in to comment.