diff options
author | Ned Deily <nad@python.org> | 2016-08-16 04:17:42 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2016-08-16 04:17:42 (GMT) |
commit | 939231be0e4662154838414934bf0d759d6f45cb (patch) | |
tree | 693874e92ab48d5e89da9a1e6e36925b5b20a406 | |
parent | f35bb9e1e93cf7d8af377b2b28e6ecea7b1a2606 (diff) | |
download | cpython-939231be0e4662154838414934bf0d759d6f45cb.zip cpython-939231be0e4662154838414934bf0d759d6f45cb.tar.gz cpython-939231be0e4662154838414934bf0d759d6f45cb.tar.bz2 |
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
-rw-r--r-- | Programs/_testembed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c index ab6a8c7..3968399 100644 --- a/Programs/_testembed.c +++ b/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(); |