Author: Armin Rigo <[email protected]>
Branch: cffi-1.0
Changeset: r1941:c23ad33cda76
Date: 2015-05-09 09:59 +0000
http://bitbucket.org/cffi/cffi/changeset/c23ad33cda76/

Log:    Skip this test on pypy

diff --git a/_cffi1/test_cffi_binary.py b/_cffi1/test_cffi_binary.py
--- a/_cffi1/test_cffi_binary.py
+++ b/_cffi1/test_cffi_binary.py
@@ -2,6 +2,8 @@
 import _cffi_backend
 
 def test_no_unknown_exported_symbols():
+    if not hasattr(_cffi_backend, '__file__'):
+        py.test.skip("_cffi_backend module is built-in")
     if not sys.platform.startswith('linux'):
         py.test.skip("linux-only")
     g = os.popen("objdump -T '%s'" % _cffi_backend.__file__, 'r')
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to