Author: Armin Rigo <[email protected]>
Branch: stm
Changeset: r51972:6ebc74fdd21c
Date: 2012-01-30 21:26 +0100
http://bitbucket.org/pypy/pypy/changeset/6ebc74fdd21c/
Log: Fix test.
diff --git a/pypy/rpython/lltypesystem/test/test_lltype.py
b/pypy/rpython/lltypesystem/test/test_lltype.py
--- a/pypy/rpython/lltypesystem/test/test_lltype.py
+++ b/pypy/rpython/lltypesystem/test/test_lltype.py
@@ -792,7 +792,7 @@
#
class FieldListAccessor(object):
def __init__(self, fields):
- self.fields = fields
+ self._fields = fields
S = GcStruct('S', ('x', lltype.Signed),
hints={'immutable_fields': FieldListAccessor({'x': 1234})})
assert S._immutable_field('x') == 1234
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit