Author: mattip <[email protected]>
Branch:
Changeset: r66957:622e34025e15
Date: 2013-09-15 18:52 +0300
http://bitbucket.org/pypy/pypy/changeset/622e34025e15/
Log: skip resource test if not posix
diff --git a/pypy/module/test_lib_pypy/test_resource.py
b/pypy/module/test_lib_pypy/test_resource.py
--- a/pypy/module/test_lib_pypy/test_resource.py
+++ b/pypy/module/test_lib_pypy/test_resource.py
@@ -3,6 +3,9 @@
from lib_pypy.ctypes_config_cache import rebuild
from pypy.module.test_lib_pypy.support import import_lib_pypy
+import os
+if os.name != 'posix':
+ skip('resource.h only available on unix')
class AppTestResource:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit