summaryrefslogtreecommitdiff
path: root/tests/test_wheelfile.py
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2019-02-12 00:05:53 +0200
committerAlex Grönholm <alex.gronholm@nextday.fi>2019-02-12 08:58:33 +0200
commit933a8920d3ac8773da10294bc28e3a0cd4e2e651 (patch)
tree37f6a4f889302db663aabb2c1bd98a4a730ecbda /tests/test_wheelfile.py
parent97b48ef812c4d326847e947c64583c185403445b (diff)
downloadwheel-git-933a8920d3ac8773da10294bc28e3a0cd4e2e651.tar.gz
Skip attributes test on Windows
Diffstat (limited to 'tests/test_wheelfile.py')
-rw-r--r--tests/test_wheelfile.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_wheelfile.py b/tests/test_wheelfile.py
index e8b0f08..db11bcd 100644
--- a/tests/test_wheelfile.py
+++ b/tests/test_wheelfile.py
@@ -1,6 +1,7 @@
# coding: utf-8
from __future__ import unicode_literals
+import sys
from zipfile import ZipFile, ZIP_DEFLATED
import pytest
@@ -147,6 +148,8 @@ def test_timestamp(tmpdir_factory, wheel_path, monkeypatch):
assert info.compress_type == ZIP_DEFLATED
+@pytest.mark.skipif(sys.platform == 'win32',
+ reason='Windows does not support UNIX-like permissions')
def test_attributes(tmpdir_factory, wheel_path):
# With the change from ZipFile.write() to .writestr(), we need to manually
# set member attributes.