Author: Matti Picus <[email protected]>
Branch: 
Changeset: r70357:40c8ce233196
Date: 2014-03-31 20:41 +0300
http://bitbucket.org/pypy/pypy/changeset/40c8ce233196/

Log:    give up earlier on win32

diff --git a/pypy/tool/release/test/test_package.py 
b/pypy/tool/release/test/test_package.py
--- a/pypy/tool/release/test/test_package.py
+++ b/pypy/tool/release/test/test_package.py
@@ -17,6 +17,8 @@
         exe_name_in_archive = 'bin/pypy'
     pypy_c = py.path.local(pypydir).join('goal', basename)
     if not pypy_c.check():
+        if sys.platform == 'win32':
+            assert False, "test on win32 requires exe"
         pypy_c.write("#!/bin/sh")
         pypy_c.chmod(0755)
         fake_pypy_c = True
@@ -81,6 +83,8 @@
         package.USE_ZIPFILE_MODULE = prev
 
 def test_fix_permissions(tmpdir):
+    if sys.platform == 'win32':
+        py.test.skip('needs to be more general for windows')
     def check(f, mode):
         assert f.stat().mode & 0777 == mode
     #
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to