[pypy-commit] cffi default: fix
arigo
noreply at buildbot.pypy.org
Wed May 27 12:02:30 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r2113:1f18df199d5b
Date: 2015-05-27 12:03 +0200
http://bitbucket.org/cffi/cffi/changeset/1f18df199d5b/
Log: fix
diff --git a/testing/cffi1/test_zdist.py b/testing/cffi1/test_zdist.py
--- a/testing/cffi1/test_zdist.py
+++ b/testing/cffi1/test_zdist.py
@@ -33,7 +33,7 @@
if (name.endswith('.so') or name.endswith('.pyd') or
name.endswith('.dylib')):
found_so = os.path.join(curdir, name)
- name = os.path.splitext(name)[0] + '.SO'
+ name = name.split('.')[0] + '.SO' # foo.cpython-34m.so => foo.SO
assert name in content, "found unexpected file %r" % (
os.path.join(curdir, name),)
value = content.pop(name)
More information about the pypy-commit
mailing list