Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1649:7a9bab1c538a
Date: 2015-02-13 10:44 +0100
http://bitbucket.org/cffi/cffi/changeset/7a9bab1c538a/
Log: Copy from pypy/6e64507f2a09
diff --git a/cffi/api.py b/cffi/api.py
--- a/cffi/api.py
+++ b/cffi/api.py
@@ -55,7 +55,8 @@
# _cffi_backend.so compiled.
import _cffi_backend as backend
from . import __version__
- assert backend.__version__ == __version__
+ assert backend.__version__ == __version__, \
+ "version mismatch, %s != %s" % (backend.__version__,
__version__)
# (If you insist you can also try to pass the option
# 'backend=backend_ctypes.CTypesBackend()', but don't
# rely on it! It's probably not going to work well.)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit