Commit e2557646 authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Enable this test only when subprocess supports non-ascii arguments.

(it is about parsing the python command line arguments, not about subprocess)
parent f4b27124
......@@ -136,8 +136,7 @@ class CmdLineTest(unittest.TestCase):
0)
# Test handling of non-ascii data
if test.support.verbose:
print("FileSystemEncoding:", sys.getfilesystemencoding())
if sys.getfilesystemencoding() != 'ascii':
command = "assert(ord('\xe9') == 0xe9)"
self.assertEqual(
self.exit_code('-c', command),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment