Author: Vincent Legoll <[email protected]>
Branch: repeatlist_strategy
Changeset: r81769:23581fb2f3d5
Date: 2016-01-14 22:45 +0100
http://bitbucket.org/pypy/pypy/changeset/23581fb2f3d5/
Log: backout e2d983c38082, it was wrong, the failure comes from
repeatlist strategy
diff --git a/pypy/module/test_lib_pypy/test_collections.py
b/pypy/module/test_lib_pypy/test_collections.py
--- a/pypy/module/test_lib_pypy/test_collections.py
+++ b/pypy/module/test_lib_pypy/test_collections.py
@@ -76,12 +76,12 @@
def test_remove_mutating(self):
collections = self.collections
- d = collections.deque([MutatingCmp()])
class MutatingCmp(object):
def __eq__(self, other):
d.clear()
return True
+ d = collections.deque([MutatingCmp()])
raises(IndexError, d.remove, 1)
def test_remove_failing(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit