Author: Romain Guillebert <[email protected]>
Branch:
Changeset: r61423:6f159a1879a5
Date: 2013-02-18 19:17 +0100
http://bitbucket.org/pypy/pypy/changeset/6f159a1879a5/
Log: merge heads
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
@@ -1769,6 +1769,12 @@
b = array(a, dtype='d')
assert a.dtype is b.dtype
+ def test_notequal_different_shapes(self):
+ from _numpypy import array
+ a = array([1, 2])
+ b = array([1, 2, 3, 4])
+ assert (a == b) == False
+
class AppTestMultiDim(BaseNumpyAppTest):
def test_init(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit