Author: Armin Rigo <ar...@tunes.org> Branch: ffi-backend Changeset: r56640:ec35faff77d2 Date: 2012-08-07 17:29 +0200 http://bitbucket.org/pypy/pypy/changeset/ec35faff77d2/
Log: Fix diff --git a/pypy/translator/tool/test/test_staticsizereport.py b/pypy/translator/tool/test/test_staticsizereport.py --- a/pypy/translator/tool/test/test_staticsizereport.py +++ b/pypy/translator/tool/test/test_staticsizereport.py @@ -54,7 +54,7 @@ S = rffi.sizeof(lltype.Signed) P = rffi.sizeof(rffi.VOIDP) - B = 1 # bool + B = S # a bool, but rounded up, it makes a Signed assert guess_size(self.builder.db, dictvalnode, set()) > 100 assert guess_size(self.builder.db, dictvalnode2, set()) == 2 * S + 1 * P + 1 * S + 8 * (2*S + 1 * B) r_set = set() _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit