Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r54120:27de13d1a9e7 Date: 2012-04-01 16:48 +0200 http://bitbucket.org/pypy/pypy/changeset/27de13d1a9e7/
Log: Fix the test: the 'len' attribute is now promoted to the common base class W_ArrayBase, which is ok. diff --git a/pypy/module/pypyjit/test_pypy_c/test_misc.py b/pypy/module/pypyjit/test_pypy_c/test_misc.py --- a/pypy/module/pypyjit/test_pypy_c/test_misc.py +++ b/pypy/module/pypyjit/test_pypy_c/test_misc.py @@ -212,7 +212,7 @@ i19 = int_add(i12, 1) setfield_gc(p9, i19, descr=<FieldS .*W_AbstractSeqIterObject.inst_index .*>) guard_nonnull_class(p17, 146982464, descr=...) - i21 = getfield_gc(p17, descr=<FieldS .*W_ArrayTypei.inst_len .*>) + i21 = getfield_gc(p17, descr=<FieldS .*W_Array.*.inst_len .*>) i23 = int_lt(0, i21) guard_true(i23, descr=...) i24 = getfield_gc(p17, descr=<FieldU .*W_ArrayTypei.inst_buffer .*>) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit