From 939231be0e4662154838414934bf0d759d6f45cb 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(-) diff --git a/Programs/_testembed.c b/Programs/_testembed.c index ab6a8c7..3968399 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 v0.12