[pypy-svn] r62850 - pypy/trunk/pypy/translator/platform/test

arigo at codespeak.net arigo at codespeak.net
Wed Mar 11 12:20:27 CET 2009


Author: arigo
Date: Wed Mar 11 12:20:25 2009
New Revision: 62850

Modified:
   pypy/trunk/pypy/translator/platform/test/test_darwin.py
Log:
Add a skip.


Modified: pypy/trunk/pypy/translator/platform/test/test_darwin.py
==============================================================================
--- pypy/trunk/pypy/translator/platform/test/test_darwin.py	(original)
+++ pypy/trunk/pypy/translator/platform/test/test_darwin.py	Wed Mar 11 12:20:25 2009
@@ -2,7 +2,10 @@
 """ File containing darwin platform tests
 """
 
-import py
+import py, os
+if os.name != 'darwin':
+    py.test.skip("Darwin only")
+
 from pypy.tool.udir import udir
 from pypy.translator.platform.darwin import Darwin
 from pypy.translator.platform.test.test_platform import TestPlatform as BasicTest



More information about the Pypy-commit mailing list