1. Python CFFI
  2. Untitled project
  3. cffi
  4. Issues
Issue #135 resolved

cffi tests fail with 3.4 beta2

Anonymous created an issue

see https://bugs.launchpad.net/ubuntu/+source/python-cffi/+bug/1270401

see https://launchpad.net/ubuntu/+source/python-cffi/0.7.2-2build1

============================= test session starts ==============================
platform linux -- Python 3.4.0 -- pytest-2.5.1
collected 1028 items

c/test_c.py .........s...............................................................................................................................s..................s..................
testing/test_cdata.py .
testing/test_ctypes.py ..................s...............s.s.s.......s.....................ssssss..s..s.....................sssssss
testing/test_ffi_backend.py ..............................................................................s...s.................................s...........s.................s.sAborted
E: pybuild pybuild:256: test: plugin custom failed with: exit code=134: python3.4-dbg -m pytest c/ testing/
dh_auto_test: pybuild --test -i python{version}-dbg -p 3.4 3.3 --dir . returned exit code 13
make[1]: *** [override_dh_auto_test] Error 13
make[1]: Leaving directory `/build/buildd/python-cffi-0.7.2'
make: *** [build-arch] Error 2

seen with both 0.7 and 0.8.1 (Ubuntu trusty).

There is also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735806 (but this is 2.7 related and looks like a pip issue)

Comments (5)

  1. Stefano Rivera
    ../Python/compile.c:2727: compiler_nameop: Assertion `PyUnicode_CompareWithASCIIString(name, "None") && PyUnicode_CompareWithASCIIString(name, "True") && PyUnicode_CompareWithASCIIString(name, "False")' failed.
    

    while importing testing/test_cdata.py

  2. Log in to comment