Commit 459b77e2 authored by Matt Davis's avatar Matt Davis
Browse files

fix tuple version and tests to support rc

--HG--
branch : release-1.15
parent 9d89169b1ec9
......@@ -6,7 +6,7 @@ from .error import CDefError, FFIError, VerificationError, VerificationMissing
from .error import PkgConfigError
__version__ = "1.15.0rc1"
__version_info__ = (1, 15, 0)
__version_info__ = (1, 15, 0, 'rc1')
# 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__
......
......@@ -18,6 +18,7 @@ def test_version():
version_info = '.'.join(str(i) for i in cffi.__version_info__)
version_info = version_info.replace('.beta.', 'b')
version_info = version_info.replace('.plus', '+')
version_info = version_info.replace('.rc', 'rc')
assert v == version_info
#v = BACKEND_VERSIONS.get(v, v)
assert v == _cffi_backend.__version__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment