[pypy-commit] pypy default: a missing test

fijal noreply at buildbot.pypy.org
Fri Jul 22 00:56:16 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r45852:7b3a66f3c80a
Date: 2011-07-22 00:56 +0200
http://bitbucket.org/pypy/pypy/changeset/7b3a66f3c80a/

Log:	a missing 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
@@ -171,6 +171,10 @@
         for i in range(5):
             assert b[i] == i + 5
 
+    def test_radd(self):
+        from numpy import array
+        assert 3 + array(range(3)) == array([3, 4, 5])
+
     def test_add_list(self):
         from numpy import array
         a = array(range(5))


More information about the pypy-commit mailing list