diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-03-25 14:00:29 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-03-25 14:11:03 -0400 |
commit | ef3a38644ccc9f65ea20493e25de0955695b9dff (patch) | |
tree | d092b002b75d2e1ce09f8036cc038033e254d284 | |
parent | 8f8302da51016c6c98cf29417819fd0907e3993a (diff) | |
download | external_python_setuptools-ef3a38644ccc9f65ea20493e25de0955695b9dff.tar.gz external_python_setuptools-ef3a38644ccc9f65ea20493e25de0955695b9dff.tar.bz2 external_python_setuptools-ef3a38644ccc9f65ea20493e25de0955695b9dff.zip |
Mark test_executable_data as xfail on Windows.
-rw-r--r-- | setuptools/tests/test_build_py.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/setuptools/tests/test_build_py.py b/setuptools/tests/test_build_py.py index 4cb11c1d..78a31ac4 100644 --- a/setuptools/tests/test_build_py.py +++ b/setuptools/tests/test_build_py.py @@ -2,6 +2,8 @@ import os import stat import shutil +import pytest + from setuptools.dist import Distribution @@ -50,6 +52,12 @@ def test_read_only(tmpdir_cwd): shutil.rmtree('build') +@pytest.mark.xfail( + 'platform.system() == "Windows"', + reason="On Windows, files do not have executable bits", + raises=AssertionError, + strict=True, +) def test_executable_data(tmpdir_cwd): """ Ensure executable bit is preserved in copy for |