Commits

Romain Guillebert  committed 2890c05

(dario, rguillebert) Skip test_large_flag on Mac OS since fcntl.h
has no large flag in it

  • Participants
  • Parent commits c2a560d

Comments (0)

Files changed (1)

File pypy/module/fcntl/test/test_fcntl.py

         fcntl.lockf(f, fcntl.LOCK_EX | fcntl.LOCK_NB)
 
     def test_large_flag(self):
+        import sys
+        if sys.platform == "darwin":
+            skip("Mac OS doesn't have any large flag in fcntl.h")
         import fcntl, sys
         if sys.maxint == 2147483647:
             assert fcntl.DN_MULTISHOT == -2147483648