[pypy-commit] pypy default: Fix test

arigo noreply at buildbot.pypy.org
Mon Jan 19 12:05:52 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r75433:b6913a381bf9
Date: 2015-01-19 12:05 +0100
http://bitbucket.org/pypy/pypy/changeset/b6913a381bf9/

Log:	Fix test

diff --git a/rpython/translator/tool/test/test_staticsizereport.py b/rpython/translator/tool/test/test_staticsizereport.py
--- a/rpython/translator/tool/test/test_staticsizereport.py
+++ b/rpython/translator/tool/test/test_staticsizereport.py
@@ -59,7 +59,7 @@
         assert guess_size(func.builder.db, dictvalnode, set()) > 100
         assert guess_size(func.builder.db, dictvalnode2, set()) == (
             (4 * S + 2 * P) +     # struct dicttable
-            (S + 8) +             # indexes, length 8
+            (S + 16) +            # indexes, length 16
             (S + S + S))          # entries, length 1
         r_set = set()
         dictnode_size = guess_size(db, test_dictnode, r_set)


More information about the pypy-commit mailing list