Skip to content

Commit 25398fe

Browse files
committed
adjust success/filure for test_utf8_mode
1 parent a7c3740 commit 25398fe

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Lib/test/test_utf8_mode.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ def test_stdio(self):
161161
'stdout: utf-8/namereplace',
162162
'stderr: utf-8/backslashreplace'])
163163

164-
# TODO: RUSTPYTHON
165-
@unittest.expectedFailure
166164
def test_io(self):
167165
code = textwrap.dedent('''
168166
import sys
@@ -206,8 +204,6 @@ def check_io_encoding(self, module):
206204
self._check_io_encoding(module,
207205
encoding="latin1", errors="namereplace")
208206

209-
# TODO: RUSTPYTHON
210-
@unittest.expectedFailure
211207
def test_io_encoding(self):
212208
self.check_io_encoding('io')
213209

@@ -270,6 +266,8 @@ def test_optim_level(self):
270266
out = self.get_output('-X', 'utf8', '-E', '-c', code)
271267
self.assertEqual(out, '1')
272268

269+
# TODO: RUSTPYTHON
270+
@unittest.expectedFailure
273271
@unittest.skipIf(MS_WINDOWS,
274272
"os.device_encoding() doesn't implement "
275273
"the UTF-8 Mode on Windows")

0 commit comments

Comments
 (0)