Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r1223:89f4e47b3e98
Date: 2013-04-02 21:34 +0200
http://bitbucket.org/cffi/cffi/changeset/89f4e47b3e98/
Log: skip this if we're on PyPy
diff --git a/testing/test_version.py b/testing/test_version.py
--- a/testing/test_version.py
+++ b/testing/test_version.py
@@ -1,6 +1,10 @@
-import py, os
+import py, os, sys
import cffi, _cffi_backend
+def setup_module(mod):
+ if '_cffi_backend' in sys.builtin_module_names:
+ py.test.skip("this is embedded version")
+
BACKEND_VERSIONS = {
'0.4.2': '0.4', # did not change
}
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit