-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Closed
Labels
OS-mactestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Repro: ./python.exe -m test test_c_locale_coercion -v
Short output:
======================================================================
FAIL: test_external_target_locale_configuration (test.test_c_locale_coercion.LocaleConfigurationTests.test_external_target_locale_configuration) (env_var='LC_CTYPE', configured_locale='UTF-8')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_c_locale_coercion.py", line 273, in test_external_target_locale_configuration
self._check_child_encoding_details(var_dict,
File "/Users/sobolev/Desktop/cpython/Lib/test/test_c_locale_coercion.py", line 230, in _check_child_encoding_details
self.assertEqual(encoding_details, expected_details)
AssertionError: {'fse[36 chars]f-8:strict', 'stdout_info': 'utf-8:strict', 's[80 chars]: ''} != {'fse[36 chars]f-8:surrogateescape', 'stdout_info': 'utf-8:su[98 chars]: ''}
{'fsencoding': 'utf-8',
'lang': '',
'lc_all': '',
'lc_ctype': 'UTF-8',
'stderr_info': 'utf-8:backslashreplace',
- 'stdin_info': 'utf-8:strict',
? ^^ ^
+ 'stdin_info': 'utf-8:surrogateescape',
? ++++++ ^^^ ^^^
- 'stdout_info': 'utf-8:strict'}
? ^^ ^
+ 'stdout_info': 'utf-8:surrogateescape'}
? ++++++ ^^^ ^^^
----------------------------------------------------------------------
Ran 7 tests in 0.883s
FAILED (failures=51)
test test_c_locale_coercion failed
test_c_locale_coercion failed (51 failures)
== Tests result: FAILURE ==
1 test failed:
test_c_locale_coercion
Total duration: 924 ms
Total tests: run=7 failures=51
Total test files: run=1/1 failed=1
Result: FAILURE
Full output is attached below.
out.txt
Linked PRs
Metadata
Metadata
Assignees
Labels
OS-mactestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error