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:
parent
f35bb9e1e9
commit
939231be0e
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue