Skip to content

Commit

Permalink
Account for windows path separators in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Aug 27, 2024
1 parent 9b77463 commit 67e854f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/tests/test_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def test_exclude_dev_only_cache_folders(self, source_dir):

cmd = self.setup_with_extension()
self.assert_package_data_in_manifest(cmd)
manifest = cmd.filelist.files
manifest = {f.replace(os.sep, '/') for f in cmd.filelist.files}
for path in excluded:
assert os.path.exists(path)
assert path not in manifest, (path, manifest)
Expand Down

0 comments on commit 67e854f

Please sign in to comment.