[pypy-svn] r46302 - pypy/branch/pypy-more-rtti-inprogress/module/posix/test

arigo at codespeak.net arigo at codespeak.net
Tue Sep 4 13:04:55 CEST 2007


Author: arigo
Date: Tue Sep  4 13:04:55 2007
New Revision: 46302

Modified:
   pypy/branch/pypy-more-rtti-inprogress/module/posix/test/test_posix2.py
Log:
Skip on Windows.


Modified: pypy/branch/pypy-more-rtti-inprogress/module/posix/test/test_posix2.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/module/posix/test/test_posix2.py	(original)
+++ pypy/branch/pypy-more-rtti-inprogress/module/posix/test/test_posix2.py	Tue Sep  4 13:04:55 2007
@@ -255,10 +255,11 @@
             exec code.compile() in d
             locals()['test_' + name] = d['test_wstar']
 
-    def test_wifsignaled(self):
-        os = self.posix
-        assert os.WIFSIGNALED(0) == False
-        assert os.WIFSIGNALED(1) == True
+    if hasattr(os, 'WIFSIGNALED'):
+        def test_wifsignaled(self):
+            os = self.posix
+            assert os.WIFSIGNALED(0) == False
+            assert os.WIFSIGNALED(1) == True
 
     def test_os_uname(self):
         skip("Uname broken")



More information about the Pypy-commit mailing list