[pypy-svn] r54585 - pypy/branch/io-improvements/pypy/translator/c/test

fijal at codespeak.net fijal at codespeak.net
Fri May 9 12:43:38 CEST 2008


Author: fijal
Date: Fri May  9 12:43:37 2008
New Revision: 54585

Modified:
   pypy/branch/io-improvements/pypy/translator/c/test/test_boehm.py
Log:
just to be sure, overallocate here as well.


Modified: pypy/branch/io-improvements/pypy/translator/c/test/test_boehm.py
==============================================================================
--- pypy/branch/io-improvements/pypy/translator/c/test/test_boehm.py	(original)
+++ pypy/branch/io-improvements/pypy/translator/c/test/test_boehm.py	Fri May  9 12:43:37 2008
@@ -385,7 +385,7 @@
         def f():
             ptr = rgc.resizable_buffer_of_shape(STR, 2)
             ptr.chars[0] = 'a'
-            ptr = rgc.resize_buffer(ptr, 1, 2)
+            ptr = rgc.resize_buffer(ptr, 1, 200)
             ptr.chars[1] = 'b'
             return hlstr(rgc.finish_building_buffer(ptr, 2)) == "ab"
 



More information about the Pypy-commit mailing list