Skip to content

Commit cab41c8

Browse files
authored
windows codecs (#6337)
* mbcs_codec * oem codec
1 parent f4b8b01 commit cab41c8

File tree

2 files changed

+396
-10
lines changed

2 files changed

+396
-10
lines changed

Lib/test/test_subprocess.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3648,8 +3648,6 @@ def test_shell_string(self):
36483648
with p:
36493649
self.assertIn(b"physalis", p.stdout.read())
36503650

3651-
# TODO: RUSTPYTHON
3652-
@unittest.expectedFailure
36533651
def test_shell_encodings(self):
36543652
# Run command through the shell (string)
36553653
for enc in ['ansi', 'oem']:
@@ -3868,28 +3866,20 @@ def with_spaces(self, *args, **kwargs):
38683866
"2 [%r, 'ab cd']" % self.fname
38693867
)
38703868

3871-
# TODO: RUSTPYTHON
3872-
@unittest.expectedFailure
38733869
def test_shell_string_with_spaces(self):
38743870
# call() function with string argument with spaces on Windows
38753871
self.with_spaces('"%s" "%s" "%s"' % (sys.executable, self.fname,
38763872
"ab cd"), shell=1)
38773873

3878-
# TODO: RUSTPYTHON
3879-
@unittest.expectedFailure
38803874
def test_shell_sequence_with_spaces(self):
38813875
# call() function with sequence argument with spaces on Windows
38823876
self.with_spaces([sys.executable, self.fname, "ab cd"], shell=1)
38833877

3884-
# TODO: RUSTPYTHON
3885-
@unittest.expectedFailure
38863878
def test_noshell_string_with_spaces(self):
38873879
# call() function with string argument with spaces on Windows
38883880
self.with_spaces('"%s" "%s" "%s"' % (sys.executable, self.fname,
38893881
"ab cd"))
38903882

3891-
# TODO: RUSTPYTHON
3892-
@unittest.expectedFailure
38933883
def test_noshell_sequence_with_spaces(self):
38943884
# call() function with sequence argument with spaces on Windows
38953885
self.with_spaces([sys.executable, self.fname, "ab cd"])

0 commit comments

Comments
 (0)