Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r586:2c85df830498 Date: 2012-07-07 12:28 +0200 http://bitbucket.org/cffi/cffi/changeset/2c85df830498/
Log: Add a test diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -1309,3 +1309,4 @@ BArray = new_array_type(new_pointer_type(BInt), None) # int[] p = newp(BArray, 7) assert repr(p) == "<cdata 'int[]' owning 28 bytes>" + assert sizeof(p) == 28 _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit