Browse Source

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
pull/9921/head
Ned Deily 10 years ago
parent
commit
939231be0e
  1. 2
      Programs/_testembed.c

2
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();

Loading…
Cancel
Save