[pypy-commit] pypy win32-fixes3: skip resource test in windows
mattip
noreply at buildbot.pypy.org
Thu Apr 18 00:57:25 CEST 2013
Author: mattip <matti.picus at gmail.com>
Branch: win32-fixes3
Changeset: r63464:3a0dfa5bca98
Date: 2013-04-18 01:29 +0300
http://bitbucket.org/pypy/pypy/changeset/3a0dfa5bca98/
Log: skip resource test in windows
diff --git a/pypy/module/test_lib_pypy/test_ctypes_config_cache.py b/pypy/module/test_lib_pypy/test_ctypes_config_cache.py
--- a/pypy/module/test_lib_pypy/test_ctypes_config_cache.py
+++ b/pypy/module/test_lib_pypy/test_ctypes_config_cache.py
@@ -41,6 +41,10 @@
assert 'LOG_NOTICE' in d
def test_resource():
+ try:
+ import lib_pypy.resource
+ except ImportError:
+ py.test.skip('no syslog on this platform')
d = run('resource.ctc.py', '_resource_cache.py')
assert 'RLIM_NLIMITS' in d
More information about the pypy-commit
mailing list