mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue