Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 939231b

Browse files
committed
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
1 parent f35bb9e commit 939231b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Programs/_testembed.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static void test_repeated_init_and_subinterpreters(void)
4141
#endif
4242
int i, j;
4343

44-
for (i=0; i<3; i++) {
44+
for (i=0; i<15; i++) {
4545
printf("--- Pass %d ---\n", i);
4646
_testembed_Py_Initialize();
4747
mainstate = PyThreadState_Get();

0 commit comments

Comments
 (0)