Author: Benjamin Peterson <[email protected]>
Branch:
Changeset: r53304:39df284f9e70
Date: 2012-03-11 14:52 -0700
http://bitbucket.org/pypy/pypy/changeset/39df284f9e70/
Log: skip tests which require building extension modules
diff --git a/pypy/translator/c/test/test_genc.py
b/pypy/translator/c/test/test_genc.py
--- a/pypy/translator/c/test/test_genc.py
+++ b/pypy/translator/c/test/test_genc.py
@@ -16,6 +16,8 @@
def compile(fn, argtypes, view=False, gcpolicy="ref", backendopt=True,
annotatorpolicy=None):
+ if argtypes is not None and "__pypy__" in sys.builtin_module_names:
+ py.test.skip("requires building cpython extension modules")
t = Translation(fn, argtypes, gc=gcpolicy, backend="c",
policy=annotatorpolicy)
if not backendopt:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit