Skip to content

Commit

Permalink
Issue #27736: Improve the existing embedded interpreter init/fini test
Browse files Browse the repository at this point in the history
by increasing the number of iterations.  That appears sufficient to
expose the ref count problem fixed in this issue.
Patch suggested by Xiang Zhang
  • Loading branch information
ned-deily committed Aug 16, 2016
1 parent f35bb9e commit 939231b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Programs/_testembed.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 939231b

Please sign in to comment.