Skip to content

Commit ef3a386

Browse files
committed
Mark test_executable_data as xfail on Windows.
1 parent 8f8302d commit ef3a386

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setuptools/tests/test_build_py.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
import stat
33
import shutil
44

5+
import pytest
6+
57
from setuptools.dist import Distribution
68

79

@@ -50,6 +52,12 @@ def test_read_only(tmpdir_cwd):
5052
shutil.rmtree('build')
5153

5254

55+
@pytest.mark.xfail(
56+
'platform.system() == "Windows"',
57+
reason="On Windows, files do not have executable bits",
58+
raises=AssertionError,
59+
strict=True,
60+
)
5361
def test_executable_data(tmpdir_cwd):
5462
"""
5563
Ensure executable bit is preserved in copy for

0 commit comments

Comments
 (0)