summaryrefslogtreecommitdiff
path: root/Modules/_testembed.c
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-04-09 16:22:19 -0700
committerNed Deily <nad@acm.org>2014-04-09 16:22:19 -0700
commita4a8b4599f3ea553e45af913536d0f6985081a8f (patch)
treeca2a1984a51a388d86db2a006b5cd5a24fc15d3c /Modules/_testembed.c
parent7c5c123a453e906da293896ed413614236064cce (diff)
parent8bc92821f69ba96eb0e2acabea54eb3b5e1c86a5 (diff)
downloadcpython-a4a8b4599f3ea553e45af913536d0f6985081a8f.tar.gz
Issue #21187: merge with 3.4
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();