[pypy-svn] r29969 - pypy/dist/pypy/module/fcntl/test

rhymes at codespeak.net rhymes at codespeak.net
Wed Jul 12 10:46:07 CEST 2006


Author: rhymes
Date: Wed Jul 12 10:46:04 2006
New Revision: 29969

Modified:
   pypy/dist/pypy/module/fcntl/test/test_fcntl.py
Log:
make the test pass under freebsd6 as well

Modified: pypy/dist/pypy/module/fcntl/test/test_fcntl.py
==============================================================================
--- pypy/dist/pypy/module/fcntl/test/test_fcntl.py	(original)
+++ pypy/dist/pypy/module/fcntl/test/test_fcntl.py	Wed Jul 12 10:46:04 2006
@@ -144,7 +144,7 @@
         
         if "linux" in sys.platform:
             TIOCGPGRP = 0x540f
-        elif "darwin" in sys.platform:
+        elif "darwin" in sys.platform or "freebsd6" == sys.platform:
             TIOCGPGRP = 0x40047477
         
         raises(TypeError, fcntl.ioctl, "foo")



More information about the Pypy-commit mailing list