Author: Armin Rigo <[email protected]>
Branch: release-2.0.x
Changeset: r64219:3b53c1137d00
Date: 2013-05-16 11:30 +0200
http://bitbucket.org/pypy/pypy/changeset/3b53c1137d00/
Log: the test from d36d874c476a: passes here too
diff --git a/pypy/module/array/test/test_array.py
b/pypy/module/array/test/test_array.py
--- a/pypy/module/array/test/test_array.py
+++ b/pypy/module/array/test/test_array.py
@@ -553,6 +553,15 @@
assert (a >= c) is False
assert (c >= a) is True
+ a = self.array('i', [-1, 0, 1, 42, 0x7f])
+ assert not a == 2*a
+ assert a != 2*a
+ assert a < 2*a
+ assert a <= 2*a
+ assert not a > 2*a
+ assert not a >= 2*a
+
+
def test_reduce(self):
import pickle
a = self.array('i', [1, 2, 3])
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit