Bug#913032: minieigen fails its autopkg tests with a deprecation warning
Matthias Klose
doko at debian.org
Tue Nov 6 08:49:19 GMT 2018
Package: src:minieigen
Version: 0.50.3+dfsg1-5
Severity: serious
Tags: sid buster
minieigen fails its autopkg tests with a deprecation warning, when run with
Python 3.7. A quick fix is to override that, but maybe better fix it properly.
autopkgtest [04:47:37]: test minieigentest3: [-----------------------
Test Python3
testMatrix3Test (__main__.SimpleTests) ... ok
testQuaternion (__main__.SimpleTests) ... ok
testVector2i (__main__.SimpleTests) ... ok
testVector3 (__main__.SimpleTests) ... minieigentest.py:38: DeprecationWarning:
Please use assertEqual instead.
self.failUnlessEqual(b3m[0][0],1)
minieigentest.py:39: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(b3m[0][1],4)
minieigentest.py:40: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(b3m[0][2],7)
minieigentest.py:41: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(b3m[1][0],2)
minieigentest.py:42: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(b3m[1][1],5)
minieigentest.py:43: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(b3m[1][2],8)
minieigentest.py:44: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(b3m[2][0],3)
minieigentest.py:45: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(b3m[2][1],6)
minieigentest.py:46: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(b3m[2][2],9)
minieigentest.py:49: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(c3m[0],1)
minieigentest.py:50: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(c3m[1],5)
minieigentest.py:51: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(c3m[2],9)
minieigentest.py:53: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(a3m.maxAbsCoeff(),9)
minieigentest.py:58: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(q1[3],1)
minieigentest.py:61: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(q2[3],1)
minieigentest.py:65: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(m3q[0][0],1)
minieigentest.py:66: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(m3q[1][2],-1)
minieigentest.py:70: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(q4.norm(),1)
minieigentest.py:10: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(c2i[0],5)
minieigentest.py:11: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(c2i[1],6)
minieigentest.py:15: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(c2i[0],10)
minieigentest.py:16: DeprecationWarning: Please use assertEqual instead.
self.failUnlessEqual(c2i[1],12)
minieigentest.py:23: DeprecationWarning: Please use assertAlmostEqual instead.
self.failUnlessAlmostEqual(c3r[0],5.2)
minieigentest.py:24: DeprecationWarning: Please use assertAlmostEqual instead.
self.failUnlessAlmostEqual(c3r[1],6.2)
minieigentest.py:25: DeprecationWarning: Please use assertAlmostEqual instead.
self.failUnlessAlmostEqual(c3r[2],9.5)
minieigentest.py:29: DeprecationWarning: Please use assertAlmostEqual instead.
self.failUnlessAlmostEqual(c3r[0],15.6)
minieigentest.py:30: DeprecationWarning: Please use assertAlmostEqual instead.
self.failUnlessAlmostEqual(c3r[1],18.6)
minieigentest.py:31: DeprecationWarning: Please use assertAlmostEqual instead.
self.failUnlessAlmostEqual(c3r[2],28.5)
ok
----------------------------------------------------------------------
Ran 4 tests in 0.007s
OK
Python3 run: OK
More information about the debian-science-maintainers
mailing list