summaryrefslogtreecommitdiffstats
path: root/Programs/_testembed.c
diff options
context:
space:
mode:
Diffstat (limited to 'Programs/_testembed.c')
-rw-r--r--Programs/_testembed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index e5b138c..d635c5a 100644
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -683,6 +683,9 @@ static int test_init_from_config(void)
config._isolated_interpreter = 1;
+ putenv("PYTHONINTMAXSTRDIGITS=6666");
+ config.int_max_str_digits = 31337;
+
init_from_config_clear(&config);
dump_config();
@@ -748,6 +751,7 @@ static void set_most_env_vars(void)
putenv("PYTHONIOENCODING=iso8859-1:replace");
putenv("PYTHONPLATLIBDIR=env_platlibdir");
putenv("PYTHONSAFEPATH=1");
+ putenv("PYTHONINTMAXSTRDIGITS=4567");
}