aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-08-23 16:57:54 +0100
committerGitHub <noreply@github.com>2019-08-23 16:57:54 +0100
commit3842f2997fbd4dc840986aad2bb94656815e243b (patch)
tree7de805acc44dbbcbdf8364a14632d4fc6c2302a8 /Programs
parentFix _PyTime_MIN/MAX values (GH-15384) (diff)
downloadcpython-3842f2997fbd4dc840986aad2bb94656815e243b.tar.gz
cpython-3842f2997fbd4dc840986aad2bb94656815e243b.tar.bz2
cpython-3842f2997fbd4dc840986aad2bb94656815e243b.zip
bpo-36763: Implement PyWideStringList_Insert() of PEP 587 (GH-15423)
Diffstat (limited to 'Programs')
-rw-r--r--Programs/_testembed.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index 3d27ed2a400..38730095dab 100644
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -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;
}