From 5bc964d00a3078e02bf25f3e5bd32d36d27ad731 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Tue, 16 Aug 2016 00:17:42 -0400 Subject: Issue #27736: Improve the existing embedded interpreter init/fini test by increasing the number of iterations. That appears sufficient to expose the ref count problem fixed in this issue. Patch suggested by Xiang Zhang --- Programs/_testembed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Programs/_testembed.c') diff --git a/Programs/_testembed.c b/Programs/_testembed.c index ab6a8c7507..39683993ea 100644 --- a/Programs/_testembed.c +++ b/Programs/_testembed.c @@ -41,7 +41,7 @@ static void test_repeated_init_and_subinterpreters(void) #endif int i, j; - for (i=0; i<3; i++) { + for (i=0; i<15; i++) { printf("--- Pass %d ---\n", i); _testembed_Py_Initialize(); mainstate = PyThreadState_Get(); -- cgit v1.2.1