Author: Amaury Forgeot d'Arc <[email protected]>
Branch: 
Changeset: r55754:a9d5c0c7e8e5
Date: 2012-06-22 00:23 +0200
http://bitbucket.org/pypy/pypy/changeset/a9d5c0c7e8e5/

Log:    Skip tests in module/cppyy when 'genreflex' is not installed.

diff --git a/pypy/module/cppyy/test/conftest.py 
b/pypy/module/cppyy/test/conftest.py
new file mode 100644
--- /dev/null
+++ b/pypy/module/cppyy/test/conftest.py
@@ -0,0 +1,5 @@
+import py
+
+def pytest_runtest_setup(item):
+    if py.path.local.sysfind('genreflex') is None:
+        py.test.skip("genreflex is not installed")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to