Magellan Linux

Annotation of /trunk/numeric/patches/numeric-24.2-test.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 361 - (hide annotations) (download)
Tue Sep 25 20:32:31 2007 UTC (16 years, 8 months ago) by niro
File size: 569 byte(s)
-ver bump to 24.2-r1

1 niro 361 --- Numeric-24.2/Test/test.py 2005-08-16 06:20:25.000000000 +0100
2     +++ Numeric-24.2.new/Test/test.py 2007-02-13 20:10:41.000000000 +0000
3     @@ -581,7 +581,8 @@
4     assert_eq(Numeric.diagonal(b), [1,6,3,8])
5     assert_eq(Numeric.diagonal(b, -1), [5,2,7])
6     c = Numeric.array([b,b])
7     - assert_eq(Numeric.diagonal(c,1), [[2,7,4], [2,7,4]])
8     + # default axes for "diagonal" are now 0 and 1.
9     + assert_eq(Numeric.diagonal(c,1,-2,-1), [[2,7,4], [2,7,4]])
10    
11     class UniversalFunctionsTestCase (unittest.TestCase):
12     def setUp (self):