summaryrefslogtreecommitdiff
path: root/setuptools
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2023-01-20 18:50:38 +0000
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2023-01-20 18:50:38 +0000
commite99c7e0c550b869d06ad9ab53afe2ca9c23ee41c (patch)
tree932e69d6bc6d9905adc686c1feb1e271eb4b0d75 /setuptools
parent545ed8bfffec276ba46aeabfb0fc469eacaf8d91 (diff)
downloadpython-setuptools-git-e99c7e0c550b869d06ad9ab53afe2ca9c23ee41c.tar.gz
Account for windows paths in tests
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/tests/test_sdist.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setuptools/tests/test_sdist.py b/setuptools/tests/test_sdist.py
index e5d86215..117c0772 100644
--- a/setuptools/tests/test_sdist.py
+++ b/setuptools/tests/test_sdist.py
@@ -546,10 +546,14 @@ class TestSdistTest:
with quiet():
cmd.run()
- assert 'src/VERSION.txt' in cmd.filelist.files
+ assert (
+ 'src/VERSION.txt' in cmd.filelist.files
+ or 'src\\VERSION.txt' in cmd.filelist.files
+ )
assert 'USAGE.rst' in cmd.filelist.files
assert 'DOWHATYOUWANT' in cmd.filelist.files
assert '/' not in cmd.filelist.files
+ assert '\\' not in cmd.filelist.files
def test_pyproject_toml_in_sdist(self, tmpdir):
"""