Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r1213:70f108bb6786
Date: 2013-03-30 19:04 +0100
http://bitbucket.org/cffi/cffi/changeset/70f108bb6786/

Log:    Always test the mention of cffi-$VERSION.tar.gz in the docs, even if
        it does not exist so far, because readthedocs displays the doc of
        the latest release now by default.

diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -90,13 +90,13 @@
 
 Download and Installation:
 
-* http://pypi.python.org/packages/source/c/cffi/cffi-0.5.tar.gz
+* http://pypi.python.org/packages/source/c/cffi/cffi-0.6.tar.gz
 
    - Or grab the most current version by following the instructions below.
 
-   - MD5: b163c11f68cad4371e8caeb91d81743f
+   - MD5: ...
 
-   - SHA: d201e114d701eafbf458ebde569acbcc5225eeff
+   - SHA: ...
 
 * Or get it from the `Bitbucket page`_:
   ``hg clone https://bitbucket.org/cffi/cffi``
diff --git a/testing/test_version.py b/testing/test_version.py
--- a/testing/test_version.py
+++ b/testing/test_version.py
@@ -25,8 +25,7 @@
     v = cffi.__version__
     p = os.path.join(parent, 'doc', 'source', 'index.rst')
     content = open(p).read()
-    if ("cffi/cffi-%s.tar.gz" % v) not in content:
-        py.test.skip("XXX fix the file referenced by the doc!")
+    assert ("cffi/cffi-%s.tar.gz" % v) in content
 
 def test_setup_version():
     parent = os.path.dirname(os.path.dirname(__file__))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to