[pypy-commit] pypy default: Another test for another part of cffi which can be at the wrong version...

arigo noreply at buildbot.pypy.org
Mon Mar 9 14:13:58 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r76292:f4b4cfce3e5b
Date: 2015-03-09 14:13 +0100
http://bitbucket.org/pypy/pypy/changeset/f4b4cfce3e5b/

Log:	Another test for another part of cffi which can be at the wrong
	version...

diff --git a/lib_pypy/cffi/__init__.py b/lib_pypy/cffi/__init__.py
--- a/lib_pypy/cffi/__init__.py
+++ b/lib_pypy/cffi/__init__.py
@@ -4,8 +4,8 @@
 from .api import FFI, CDefError, FFIError
 from .ffiplatform import VerificationError, VerificationMissing
 
-__version__ = "0.9.0"
-__version_info__ = (0, 9, 0)
+__version__ = "0.9.1"
+__version_info__ = (0, 9, 1)
 
 # The verifier module file names are based on the CRC32 of a string that
 # contains the following version number.  It may be older than __version__
diff --git a/pypy/module/_cffi_backend/test/test_file.py b/pypy/module/_cffi_backend/test/test_file.py
--- a/pypy/module/_cffi_backend/test/test_file.py
+++ b/pypy/module/_cffi_backend/test/test_file.py
@@ -22,3 +22,8 @@
     eggfile = py.path.local(__file__).join('..', '..', '..', '..', '..',
                                            'lib_pypy', 'cffi.egg-info')
     assert line in eggfile.readlines()
+
+def test_app_version():
+    from pypy.module import _cffi_backend
+    from lib_pypy import cffi
+    assert _cffi_backend.VERSION == cffi.__version__


More information about the pypy-commit mailing list