Skip to content

Commit 67e854f

Browse files
committed
Account for windows path separators in tests
1 parent 9b77463 commit 67e854f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/tests/test_sdist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def test_exclude_dev_only_cache_folders(self, source_dir):
458458

459459
cmd = self.setup_with_extension()
460460
self.assert_package_data_in_manifest(cmd)
461-
manifest = cmd.filelist.files
461+
manifest = {f.replace(os.sep, '/') for f in cmd.filelist.files}
462462
for path in excluded:
463463
assert os.path.exists(path)
464464
assert path not in manifest, (path, manifest)

0 commit comments

Comments
 (0)