summaryrefslogtreecommitdiff
path: root/Modules/_testembed.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_testembed.c')
-rw-r--r--Modules/_testembed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_testembed.c b/Modules/_testembed.c
index a21d2518be..39ff0977c8 100644
--- a/Modules/_testembed.c
+++ b/Modules/_testembed.c
@@ -109,11 +109,11 @@ static void test_forced_io_encoding(void)
printf("--- Use defaults ---\n");
check_stdio_details(NULL, NULL);
printf("--- Set errors only ---\n");
- check_stdio_details(NULL, "surrogateescape");
+ check_stdio_details(NULL, "ignore");
printf("--- Set encoding only ---\n");
check_stdio_details("latin-1", NULL);
printf("--- Set encoding and errors ---\n");
- check_stdio_details("latin-1", "surrogateescape");
+ check_stdio_details("latin-1", "replace");
/* Check calling after initialization fails */
Py_Initialize();