[pypy-svn] r42079 - pypy/dist/pypy/rpython/rctypes/tool/test

afa at codespeak.net afa at codespeak.net
Mon Apr 16 00:48:53 CEST 2007


Author: afa
Date: Mon Apr 16 00:48:52 2007
New Revision: 42079

Modified:
   pypy/dist/pypy/rpython/rctypes/tool/test/test_compilemodule.py
Log:
Skip test: readline cannot work on Windows


Modified: pypy/dist/pypy/rpython/rctypes/tool/test/test_compilemodule.py
==============================================================================
--- pypy/dist/pypy/rpython/rctypes/tool/test/test_compilemodule.py	(original)
+++ pypy/dist/pypy/rpython/rctypes/tool/test/test_compilemodule.py	Mon Apr 16 00:48:52 2007
@@ -1,4 +1,5 @@
 import py
+import sys
 from pypy.rpython.rctypes.tool.compilemodule import compilemodule
 
 def test_demo():
@@ -8,5 +9,8 @@
     py.test.raises(mod.DemoError, mod.measuretime, -5, long)
 
 def test_readline():
+    if sys.platform == "win32":
+        py.test.skip("no readline on win32")
+    
     mod = compilemodule('readline')
     assert hasattr(mod, 'readline')    # XXX test more



More information about the Pypy-commit mailing list