[pypy-commit] cffi default: Delay changing this to 1.6 (1.5 is very soon after 1.4)
arigo
pypy.commits at gmail.com
Fri Jan 15 09:19:08 EST 2016
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r2589:abd64e2e97cb
Date: 2016-01-15 15:18 +0100
http://bitbucket.org/cffi/cffi/changeset/abd64e2e97cb/
Log: Delay changing this to 1.6 (1.5 is very soon after 1.4)
diff --git a/testing/cffi0/backend_tests.py b/testing/cffi0/backend_tests.py
--- a/testing/cffi0/backend_tests.py
+++ b/testing/cffi0/backend_tests.py
@@ -1352,8 +1352,8 @@
ffi = FFI(backend=self.Backend())
ffi.cdef("enum foo;")
from cffi import __version_info__
- if __version_info__ < (1, 5):
- py.test.skip("re-enable me in version 1.5")
+ if __version_info__ < (1, 6):
+ py.test.skip("re-enable me in version 1.6")
e = py.test.raises(CDefError, ffi.cast, "enum foo", -1)
assert str(e.value) == (
"'enum foo' has no values explicitly defined: refusing to guess "
More information about the pypy-commit
mailing list