diff options
author | Ned Deily <nad@acm.org> | 2014-04-09 16:20:08 -0700 |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2014-04-09 16:20:08 -0700 |
commit | 8bc92821f69ba96eb0e2acabea54eb3b5e1c86a5 (patch) | |
tree | 0ef4d746757ec3318b2c0dacebbfd52852898412 /Modules/_testembed.c | |
parent | 7beb365c26c708d51e74bbc63684b475d261c6d2 (diff) | |
parent | 456bc4ece737d6b59ddd2005cc06f01995799f56 (diff) | |
download | cpython-8bc92821f69ba96eb0e2acabea54eb3b5e1c86a5.tar.gz |
Issue #20644: merge with 3.4
Diffstat (limited to 'Modules/_testembed.c')
-rw-r--r-- | Modules/_testembed.c | 4 |
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(); |