[pypy-commit] pypy default: add a passing test

fijal noreply at buildbot.pypy.org
Sun Jun 3 16:14:23 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r55288:a740a48d05cc
Date: 2012-06-03 16:13 +0200
http://bitbucket.org/pypy/pypy/changeset/a740a48d05cc/

Log:	add a passing test

diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py
--- a/pypy/module/micronumpy/test/test_numarray.py
+++ b/pypy/module/micronumpy/test/test_numarray.py
@@ -1248,6 +1248,7 @@
         a = arange(3*2*6).reshape((3,2,6))
         b = arange(3*2*6)[::-1].reshape((2,6,3))
         assert dot(a, b)[2,0,1,2] == 1140
+        assert (dot([[1,2],[3,4]],[5,6]) == [17, 39]).all()
 
     def test_dot_constant(self):
         from _numpypy import array, dot


More information about the pypy-commit mailing list