Commits

Philip Jenvey committed 17df556

use the correct 'i', not the one leaked from the list comp (which happened to
be the same value)

  • Participants
  • Parent commits c547e2d

Comments (0)

Files changed (1)

File pypy/objspace/std/test/test_listobject.py

                 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