control: forwarded -1 openstructure-us...@maillist.unibas.ch

On 2024-06-16 16:08, Lucas Nussbaum wrote:
======================================================================
ERROR: testSpearmanCorrel (__main__.TestTable.testSpearmanCorrel)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/<<PKGBUILDDIR>>/modules/base/tests/test_table.py", line 1668, in 
testSpearmanCorrel
     self.assertAlmostEqual(tab.SpearmanCorrel('second','third'), -0.316227766)
   File "/usr/lib/python3.11/unittest/case.py", line 904, in assertAlmostEqual
     diff = abs(first - second)
                ~~~~~~^~~~~~~~
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'

This failure seems to have been caused by an API change in scipy. I have reported the issue upstream. A simple fix would be to skip this test entirely via a patch. In the meantime let us wait for upstream's response.

Andrius

Reply via email to