Author: mattip <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit