Opened 4 years ago
Last modified 4 years ago
#64047 assigned defect
py27-numeric: test are failed on macOS 11.6
| Reported by: | catap (Kirill A. Korinsky) | Owned by: | jmroot (Joshua Root) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | py-numeric |
Description
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
Change History (1)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
| Owner: | set to jmroot |
|---|---|
| Port: | py-numeric added |
| Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
