Author: Philip Jenvey <[email protected]>
Branch:
Changeset: r63355:17df5567c9a0
Date: 2013-04-14 16:22 -0700
http://bitbucket.org/pypy/pypy/changeset/17df5567c9a0/
Log: use the correct 'i', not the one leaked from the list comp (which
happened to be the same value)
diff --git a/pypy/objspace/std/test/test_listobject.py
b/pypy/objspace/std/test/test_listobject.py
--- a/pypy/objspace/std/test/test_listobject.py
+++ b/pypy/objspace/std/test/test_listobject.py
@@ -1109,7 +1109,7 @@
self.i = i
def __eq__(self, other):
if self.i == 9:
- del l[i - 1]
+ del l[self.i - 1]
return True
else:
return False
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit