Skip to content

Commit 6c7baa2

Browse files
committed
revert putenv statements
1 parent daa1e2d commit 6c7baa2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Programs/_testembed.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,14 @@ static int test_init_global_config(void)
569569

570570
/* Test initialization from global configuration variables (Py_xxx) */
571571
Py_SetProgramName(L"./globalvar");
572+
573+
putenv("PYTHONINSPECT=");
574+
putenv("PYTHONOPTIMIZE=0");
572575
Py_InteractiveFlag = 1;
576+
putenv("PYTHONDEBUG=0");
577+
putenv("PYTHONDONTWRITEBYTECODE=");
578+
putenv("PYTHONVERBOSE=0");
579+
putenv("PYTHONUNBUFFERED=");
573580

574581
Py_Initialize();
575582
dump_config();

0 commit comments

Comments
 (0)