[MacPorts] #64047: py27-numeric: test are failed on macOS 11.6
MacPorts
noreply at macports.org
Tue Nov 23 18:10:28 UTC 2021
#64047: py27-numeric: test are failed on macOS 11.6
--------------------+--------------------
Reporter: catap | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
--------------------+--------------------
`sudo port -v test py27-numeric`
{{{
======================================================================
ERROR: testConcatenate (__main__.ArrayFunctionsTestCase)
test concatenate
----------------------------------------------------------------------
Traceback (most recent call last):
File "Test/test.py", line 433, in testConcatenate
assert_eq(Numeric.concatenate((self.a[:3], self.a[3:])),
[0,1,2,3,4,5])
File "Test/test.py", line 28, in assert_eq
assert eq(a,b)
File "Test/test.py", line 24, in eq
(aa.shape, a, ab.shape, b))
ValueError: sequences have different shapes:
a(3,)=array([0, 1, 2])
b(6,)=[0, 1, 2, 3, 4, 5]
======================================================================
ERROR: testDiagonal (__main__.ArrayFunctionsTestCase)
Test the diagonal function.
----------------------------------------------------------------------
Traceback (most recent call last):
File "Test/test.py", line 584, in testDiagonal
assert_eq(Numeric.diagonal(c,1), [[2,7,4], [2,7,4]])
File "Test/test.py", line 28, in assert_eq
assert eq(a,b)
File "Test/test.py", line 24, in eq
(aa.shape, a, ab.shape, b))
ValueError: sequences have different shapes:
a(4, 2)=array([[5, 1],
[6, 2],
[7, 3],
[8, 4]])
b(2, 3)=[[2, 7, 4], [2, 7, 4]]
======================================================================
ERROR: testAverage (__main__.BasicNumericTestCase)
Test of average function.
----------------------------------------------------------------------
Traceback (most recent call last):
File "Test/test.py", line 297, in testAverage
c.shape=(3,2)
ValueError: total size of new array must be unchanged
======================================================================
ERROR: testObject (__main__.BasicNumericTestCase)
Test various object arrays
----------------------------------------------------------------------
Traceback (most recent call last):
File "Test/test.py", line 334, in testObject
a = Numeric.array([f,w,b],'O')
ValueError: invalid input sequence
======================================================================
ERROR: testSlice (__main__.BasicNumericTestCase)
Test slicing, like x[1:3]
----------------------------------------------------------------------
Traceback (most recent call last):
File "Test/test.py", line 141, in testSlice
assert_eq(a[0:], a)
File "Test/test.py", line 28, in assert_eq
assert eq(a,b)
File "Test/test.py", line 24, in eq
(aa.shape, a, ab.shape, b))
ValueError: sequences have different shapes:
a(0,)=zeros((0,), 'l')
b(4,)=array([1, 2, 3, 4])
----------------------------------------------------------------------
Ran 45 tests in 0.016s
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64047>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list