summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2016-08-16 04:17:42 (GMT)
committerNed Deily <nad@python.org>2016-08-16 04:17:42 (GMT)
commit939231be0e4662154838414934bf0d759d6f45cb (patch)
tree693874e92ab48d5e89da9a1e6e36925b5b20a406
parentf35bb9e1e93cf7d8af377b2b28e6ecea7b1a2606 (diff)
downloadcpython-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.c2
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();