Author: Armin Rigo <[email protected]>
Branch:
Changeset: r46236:3a789ffe42d2
Date: 2011-08-03 10:03 +0200
http://bitbucket.org/pypy/pypy/changeset/3a789ffe42d2/
Log: Fix this test.
diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py
b/pypy/module/pypyjit/test_pypy_c/test_string.py
--- a/pypy/module/pypyjit/test_pypy_c/test_string.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_string.py
@@ -90,12 +90,12 @@
i46 = call(ConstClass(ll_startswith__rpy_stringPtr_rpy_stringPtr),
p28, ConstPtr(ptr45), descr=<BoolCallDescr>)
guard_false(i46, descr=...)
p51 = new_with_vtable(21136408)
- setfield_gc(p51, p28, descr=<GcPtrFieldDescr
.*NumberStringParser.inst_literal .*>)
- setfield_gc(p51, ConstPtr(ptr51), descr=<GcPtrFieldDescr
pypy.objspace.std.strutil.NumberStringParser.inst_fname .*>)
- setfield_gc(p51, 1, descr=<SignedFieldDescr
.*NumberStringParser.inst_sign .*>)
- setfield_gc(p51, 16, descr=<SignedFieldDescr
.*NumberStringParser.inst_base .*>)
- setfield_gc(p51, p28, descr=<GcPtrFieldDescr
.*NumberStringParser.inst_s .*>)
- setfield_gc(p51, i29, descr=<SignedFieldDescr
.*NumberStringParser.inst_n .*>)
+ setfield_gc(p51, _, descr=...) # 6 setfields, but the order is
dict-order-dependent
+ setfield_gc(p51, _, descr=...)
+ setfield_gc(p51, _, descr=...)
+ setfield_gc(p51, _, descr=...)
+ setfield_gc(p51, _, descr=...)
+ setfield_gc(p51, _, descr=...)
p55 = call(ConstClass(parse_digit_string), p51,
descr=<GcPtrCallDescr>)
guard_no_exception(descr=...)
i57 = call(ConstClass(rbigint.toint), p55, descr=<SignedCallDescr>)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit