summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-03-25 13:36:00 +0000
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-03-25 13:36:00 +0000
commit47f506e758b513e59f60a27325aa65d05b429f4c (patch)
tree4117eafc34d3c180be62d5e4aa9bef9223eda1cf
parent7d5fc95b7b8a6c2680990738b3554b70c4fff121 (diff)
downloadpython-setuptools-git-47f506e758b513e59f60a27325aa65d05b429f4c.tar.gz
Attempt to solve pathsep problems in windows tests
-rw-r--r--setuptools/tests/test_config_discovery.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/setuptools/tests/test_config_discovery.py b/setuptools/tests/test_config_discovery.py
index 5e70d524..fd5a3239 100644
--- a/setuptools/tests/test_config_discovery.py
+++ b/setuptools/tests/test_config_discovery.py
@@ -476,13 +476,11 @@ class TestWithPackageData:
self._simulate_package_with_data_files(tmp_path, src_root)
expected = {
- os.path.normpath(f"{src_root}/proj/file1.txt"),
- os.path.normpath(f"{src_root}/proj/nested/file2.txt"),
+ os.path.normpath(f"{src_root}/proj/file1.txt").replace(os.sep, "/"),
+ os.path.normpath(f"{src_root}/proj/nested/file2.txt").replace(os.sep, "/"),
}
_run_build(tmp_path)
- from pprint import pprint
- pprint(files)
sdist_files = get_sdist_members(next(tmp_path.glob("dist/*.tar.gz")))
print("~~~~~ sdist_members ~~~~~")