[pypy-commit] cffi default: Reduce the time this test takes.

arigo noreply at buildbot.pypy.org
Mon Jun 25 17:07:34 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r509:46c9996ecae6
Date: 2012-06-25 16:54 +0200
http://bitbucket.org/cffi/cffi/changeset/46c9996ecae6/

Log:	Reduce the time this test takes.

diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -291,7 +291,7 @@
                    new_array_type, new_pointer_type(p), sys.maxint // 3)
 
 def test_array_instance():
-    LENGTH = 14242
+    LENGTH = 1423
     p = new_primitive_type("int")
     p1 = new_array_type(new_pointer_type(p), LENGTH)
     a = newp(p1, None)


More information about the pypy-commit mailing list