Author: Armin Rigo <[email protected]>
Branch:
Changeset: r44101:1fb80f51e346
Date: 2011-05-12 14:48 +0200
http://bitbucket.org/pypy/pypy/changeset/1fb80f51e346/
Log: Fix.
diff --git a/pypy/translator/backendopt/test/test_constfold.py
b/pypy/translator/backendopt/test/test_constfold.py
--- a/pypy/translator/backendopt/test/test_constfold.py
+++ b/pypy/translator/backendopt/test/test_constfold.py
@@ -49,7 +49,7 @@
accessor = rclass.FieldListAccessor()
S2 = lltype.GcStruct('S2', ('x', lltype.Signed),
hints={'immutable_fields': accessor})
- accessor.initialize(S2, {'x': ''})
+ accessor.initialize(S2, {'x': rclass.IR_IMMUTABLE})
test_simple(S2)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit