We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdfe2ca commit b90cb44Copy full SHA for b90cb44
Lib/test/test_cmd_line.py
@@ -242,7 +242,7 @@ def test_undecodable_code(self):
242
undecodable = b"\xff"
243
# Use C locale to get ascii for the locale encoding
244
env['LC_ALL'] = 'C'
245
- env['PYTHONCOERCECLOCALE'] = '0'
+ env['PYTHONCOERCECLOCALE'] = '1'
246
code = (
247
b'import locale; '
248
b'print(ascii("' + undecodable + b'"), '
0 commit comments