mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
bpo-36763: Implement PyWideStringList_Insert() of PEP 587 (GH-15423)
This commit is contained in:
parent
8e76c45622
commit
3842f2997f
5 changed files with 51 additions and 13 deletions
|
|
@ -1350,8 +1350,14 @@ static int test_init_read_set(void)
|
|||
goto fail;
|
||||
}
|
||||
|
||||
status = PyWideStringList_Insert(&config.module_search_paths,
|
||||
1, L"test_path_insert1");
|
||||
if (PyStatus_Exception(status)) {
|
||||
goto fail;
|
||||
}
|
||||
|
||||
status = PyWideStringList_Append(&config.module_search_paths,
|
||||
L"init_read_set_path");
|
||||
L"test_path_append");
|
||||
if (PyStatus_Exception(status)) {
|
||||
goto fail;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue