Unverified Kaydet (Commit) 4274609e authored tarafından Nick Coghlan's avatar Nick Coghlan Kaydeden (comit) GitHub

bpo-32096: Ensure new embedding test can find the encodings module (GH-4566)

üst 53efbf39
...@@ -132,7 +132,8 @@ static int test_forced_io_encoding(void) ...@@ -132,7 +132,8 @@ static int test_forced_io_encoding(void)
static int test_pre_initialization_api(void) static int test_pre_initialization_api(void)
{ {
wchar_t *program = Py_DecodeLocale("spam", NULL); /* Leading "./" ensures getpath.c can still find the standard library */
wchar_t *program = Py_DecodeLocale("./spam", NULL);
if (program == NULL) { if (program == NULL) {
fprintf(stderr, "Fatal error: cannot decode program name\n"); fprintf(stderr, "Fatal error: cannot decode program name\n");
return 1; return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment