Author: Alex Gaynor <alex.gay...@gmail.com>
Branch: 
Changeset: r51978:2c9b35e6eb65
Date: 2012-01-30 16:43 -0500
http://bitbucket.org/pypy/pypy/changeset/2c9b35e6eb65/

Log:    merged upstream

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
@@ -942,11 +942,13 @@
         assert sum(a[2,3,2,:] * b[1,2,:,2]) == 499128
 
     def test_dot_constant(self):
-        from _numpypy import array
+        from _numpypy import array, dot
         a = array(range(5))
         b = a.dot(2.5)
         for i in xrange(5):
             assert b[i] == 2.5 * a[i]
+        c = dot(4, 3.0)
+        assert c == 12.0
 
     def test_dtype_guessing(self):
         from _numpypy import array, dtype, float64, int8, bool_
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to