[pypy-commit] creflect default: fix test

arigo noreply at buildbot.pypy.org
Tue Nov 18 00:49:13 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r64:0db6ba186923
Date: 2014-11-18 00:49 +0100
http://bitbucket.org/cffi/creflect/changeset/0db6ba186923/

Log:	fix test

diff --git a/creflect/model.py b/creflect/model.py
--- a/creflect/model.py
+++ b/creflect/model.py
@@ -296,7 +296,7 @@
             inspect.levels.append('[]')
             inspect.after_star_p1_assignment.append(after)
         t1 = self.item.inspect_type(block, inspect)
-        expr = 'cb->get_array_type(cb, %s, sizeof(%s) / sizeof(*%s));' % (
+        expr = 'cb->get_array_type(cb, %s, sizeof(%s) / sizeof(*%s))' % (
             t1, star_p1, star_p1)
         return block.write_crx_type_var(expr)
 


More information about the pypy-commit mailing list