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
This commit is contained in:
Ned Deily 2016-08-16 00:17:42 -04:00
parent f35bb9e1e9
commit 939231be0e
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ static void test_repeated_init_and_subinterpreters(void)
#endif #endif
int i, j; int i, j;
for (i=0; i<3; i++) { for (i=0; i<15; i++) {
printf("--- Pass %d ---\n", i); printf("--- Pass %d ---\n", i);
_testembed_Py_Initialize(); _testembed_Py_Initialize();
mainstate = PyThreadState_Get(); mainstate = PyThreadState_Get();