We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebe53a2 commit 1970b62Copy full SHA for 1970b62
Lib/test/test_sys.py
@@ -495,6 +495,12 @@ def __hash__(self):
495
496
self.assertRaises(TypeError, sys.intern, S("abc"))
497
498
+ # On Windows, pass bytes to subprocess doesn't test how Python decodes the
499
+ # command line, but how subprocess does decode bytes to unicode. Python
500
+ # doesn't decode the command line because Windows provides directly the
501
+ # arguments as unicode (using wmain() instead of main()).
502
+ @unittest.skipIf(sys.platform == 'win32',
503
+ 'Windows has a native unicode API')
504
def test_undecodable_code(self):
505
# Raise SkipTest() if sys.executable is not encodable to ascii
506
test.support.workaroundIssue8611()
0 commit comments