Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r58020:d5ac2d8225b7
Date: 2012-10-11 14:32 -0700
http://bitbucket.org/pypy/pypy/changeset/d5ac2d8225b7/
Log: __getslice__ -> __getitem__
diff --git a/pypy/module/test_lib_pypy/test_tputil.py
b/pypy/module/test_lib_pypy/test_tputil.py
--- a/pypy/module/test_lib_pypy/test_tputil.py
+++ b/pypy/module/test_lib_pypy/test_tputil.py
@@ -30,7 +30,7 @@
tp = make_proxy(l.append, type=list)
x = tp[0:1]
assert len(l) == 1
- assert l[0].opname == '__getslice__'
+ assert l[0].opname == '__getitem__'
def test_simple(self):
from tputil import make_proxy
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit