[pypy-commit] pypy ffi-backend: Fix
arigo
noreply at buildbot.pypy.org
Tue Aug 7 17:30:09 CEST 2012
Author: Armin Rigo <arigo at 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()
More information about the pypy-commit
mailing list