Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r45853:9b2cf174334c
Date: 2011-07-22 01:05 +0200
http://bitbucket.org/pypy/pypy/changeset/9b2cf174334c/
Log: fix the test, thanks justin
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
@@ -173,7 +173,9 @@
def test_radd(self):
from numpy import array
- assert 3 + array(range(3)) == array([3, 4, 5])
+ r = 3 + array(range(3))\
+ for i in range(3):
+ assert r[i] == i + 3
def test_add_list(self):
from numpy import array
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit