[pypy-svn] r54759 - pypy/dist/pypy/rlib/test

afa at codespeak.net afa at codespeak.net
Thu May 15 19:48:45 CEST 2008


Author: afa
Date: Thu May 15 19:48:43 2008
New Revision: 54759

Modified:
   pypy/dist/pypy/rlib/test/test_libffi.py
Log:
Python2.4 compatibility


Modified: pypy/dist/pypy/rlib/test/test_libffi.py
==============================================================================
--- pypy/dist/pypy/rlib/test/test_libffi.py	(original)
+++ pypy/dist/pypy/rlib/test/test_libffi.py	Thu May 15 19:48:43 2008
@@ -13,7 +13,8 @@
 import time
 
 def setup_module(mod):
-    if not sys.platform.startswith(('linux', 'win32')):
+    if not (sys.platform.startswith('linux') or
+            sys.platform == 'win32'):
         py.test.skip("Fragile tests, linux & win32 only by now")
     for name in type_names:
         # XXX force this to be seen by ll2ctypes



More information about the Pypy-commit mailing list