Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r3017:6586a1f5720d Date: 2017-09-16 17:48 +0200 http://bitbucket.org/cffi/cffi/changeset/6586a1f5720d/
Log: Generalize the test to pass diff --git a/testing/cffi0/test_version.py b/testing/cffi0/test_version.py --- a/testing/cffi0/test_version.py +++ b/testing/cffi0/test_version.py @@ -36,7 +36,7 @@ v = cffi.__version__.replace('+', '') p = os.path.join(parent, 'doc', 'source', 'installation.rst') content = open(p).read() - assert ("cffi/cffi-%s.tar.gz" % v) in content + assert ("/cffi-%s.tar.gz" % v) in content def test_setup_version(): parent = os.path.dirname(os.path.dirname(cffi.__file__)) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit