Author: Philip Jenvey <[email protected]>
Branch: 
Changeset: r72720:6e76708b4faf
Date: 2014-08-08 12:35 -0700
http://bitbucket.org/pypy/pypy/changeset/6e76708b4faf/

Log:    ensure the cffi.egg-info version is up to date

diff --git a/lib_pypy/cffi.egg-info b/lib_pypy/cffi.egg-info
--- a/lib_pypy/cffi.egg-info
+++ b/lib_pypy/cffi.egg-info
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: cffi
-Version: 0.8
+Version: 0.8.6
 Summary: Foreign Function Interface for Python calling C code.
 Home-page: http://cffi.readthedocs.org
 Author: Armin Rigo, Maciej Fijalkowski
diff --git a/pypy/module/test_lib_pypy/cffi_tests/test_egg_version.py 
b/pypy/module/test_lib_pypy/cffi_tests/test_egg_version.py
new file mode 100644
--- /dev/null
+++ b/pypy/module/test_lib_pypy/cffi_tests/test_egg_version.py
@@ -0,0 +1,12 @@
+from email.parser import Parser
+
+import py
+
+import cffi
+import pypy
+
+egg_info = py.path.local(pypy.__file__) / '../../lib_pypy/cffi.egg-info'
+
+def test_egg_version():
+    info = Parser().parsestr(egg_info.read())
+    assert info['version'] == cffi.__version__
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to