Author: Armin Rigo <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to