Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 25398fe

Browse filesBrowse files
committed
adjust success/filure for test_utf8_mode
1 parent a7c3740 commit 25398fe
Copy full SHA for 25398fe

File tree

1 file changed

+2
-4
lines changed
Filter options

1 file changed

+2
-4
lines changed

‎Lib/test/test_utf8_mode.py

Copy file name to clipboardExpand all lines: Lib/test/test_utf8_mode.py
+2-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.