mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
bpo-36763: Remove _PyCoreConfig.program (GH-13373)
Use _PyCoreConfig.program_name instead.
This commit is contained in:
parent
245f528a92
commit
fed02e15b3
5 changed files with 27 additions and 59 deletions
|
@ -433,8 +433,6 @@ static int test_init_from_config(void)
|
|||
config.argv.length = Py_ARRAY_LENGTH(argv);
|
||||
config.argv.items = argv;
|
||||
|
||||
config.program = L"conf_program";
|
||||
|
||||
static wchar_t* xoptions[3] = {
|
||||
L"core_xoption1=3",
|
||||
L"core_xoption2=",
|
||||
|
@ -532,7 +530,6 @@ static int test_init_dont_parse_argv(void)
|
|||
L"arg2",
|
||||
};
|
||||
|
||||
config.program = L"program";
|
||||
config.program_name = L"./_testembed";
|
||||
|
||||
config.argv.length = Py_ARRAY_LENGTH(argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue