summaryrefslogtreecommitdiff
path: root/Programs
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2016-08-16 00:17:42 -0400
committerNed Deily <nad@python.org>2016-08-16 00:17:42 -0400
commit939231be0e4662154838414934bf0d759d6f45cb (patch)
tree693874e92ab48d5e89da9a1e6e36925b5b20a406 /Programs
parentf35bb9e1e93cf7d8af377b2b28e6ecea7b1a2606 (diff)
downloadcpython-git-939231be0e4662154838414934bf0d759d6f45cb.tar.gz
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
Diffstat (limited to 'Programs')
-rw-r--r--Programs/_testembed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index ab6a8c7507..39683993ea 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();