Skip to content

Commit

Permalink
Mark test_executable_data as xfail on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 25, 2020
1 parent 8f8302d commit ef3a386
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions setuptools/tests/test_build_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import stat
import shutil

import pytest

from setuptools.dist import Distribution


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ef3a386

Please sign in to comment.