[pypy-svn] r74495 - pypy/trunk/pypy/module/cpyext/test

afa at codespeak.net afa at codespeak.net
Wed May 12 10:19:38 CEST 2010


Author: afa
Date: Wed May 12 10:19:35 2010
New Revision: 74495

Modified:
   pypy/trunk/pypy/module/cpyext/test/test_pyerrors.py
Log:
Skip this test on non-windows platorms,
ll2ctypes seems to change the errno value.


Modified: pypy/trunk/pypy/module/cpyext/test/test_pyerrors.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/test/test_pyerrors.py	(original)
+++ pypy/trunk/pypy/module/cpyext/test/test_pyerrors.py	Wed May 12 10:19:35 2010
@@ -120,6 +120,9 @@
         assert module.check_error()
 
     def test_SetFromErrno(self):
+        import sys
+        if sys.platform != 'win32':
+            skip("callbacks through ll2ctypes modify errno")
         import errno, os
 
         module = self.import_extension('foo', [



More information about the Pypy-commit mailing list