File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -618,7 +618,6 @@ def sys_tags():
618
618
'onnxruntime-0.1.2-cp36-cp36m-manylinux1_x86_64.whl' ).is_compatible ()
619
619
620
620
621
- @pytest .mark .skipif (sys .platform == 'win32' , reason = 'non-Windows only' )
622
621
def test_wheel_mode ():
623
622
@contextlib .contextmanager
624
623
def build_wheel (extra_file_defs = None , ** kwargs ):
@@ -699,4 +698,6 @@ def build_wheel(extra_file_defs=None, **kwargs):
699
698
base = pathlib .Path (install_dir ) / w .egg_name ()
700
699
script_sh = base / "EGG-INFO" / "scripts" / "script.sh"
701
700
assert script_sh .exists ()
702
- assert oct (stat .S_IMODE (script_sh .stat ().st_mode )) == "0o777"
701
+ if sys .platform != 'win32' :
702
+ # Editable file mode has no effect on Windows
703
+ assert oct (stat .S_IMODE (script_sh .stat ().st_mode )) == "0o777"
You can’t perform that action at this time.
0 commit comments