[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#877151: cfflib FTBFS: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()



Source: cfflib
Version: 2.0.5-2
Severity: serious

Some recent change in unstable makes cfflib FTBFS:

https://tests.reproducible-builds.org/debian/history/cfflib.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/cfflib.html

...
I: Running cfflib unittests using python2.7
.........E.
======================================================================
ERROR: cfflib.tests.test_cfflib.test_cdata
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/1st/cfflib-2.0.5/debian/python-cfflib/usr/lib/python2.7/dist-packages/cfflib/tests/test_cfflib.py", line 402, in test_cdata
    assert_not_equal(d.data, None)
  File "/usr/lib/python2.7/unittest/case.py", line 519, in assertNotEqual
    if not first != second:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
-------------------- >> begin captured stdout << ---------------------
Load object: /build/1st/cfflib-2.0.5/debian/python-cfflib/usr/lib/python2.7/dist-packages/cfflib/tests/data/CData/mydata.npy
Succeed.

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 11 tests in 0.127s

FAILED (errors=1)
debian/rules:18: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1


Reply to: