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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions 6 Lib/test/test_winconsoleio.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ def test_input(self):
self.assertStdinRoundTrip('ϼўТλФЙ')
# Combining characters
self.assertStdinRoundTrip('A͏B ﬖ̳AA̝')

# bpo-38325
@unittest.skipIf(True, "Handling Non-BMP characters is broken")
def test_input_nonbmp(self):
# Non-BMP
self.assertStdinRoundTrip('\U00100000\U0010ffff\U0010fffd')

Expand All @@ -163,6 +167,8 @@ def test_partial_reads(self):

self.assertEqual(actual, expected, 'stdin.read({})'.format(read_count))

# bpo-38325
@unittest.skipIf(True, "Handling Non-BMP characters is broken")
def test_partial_surrogate_reads(self):
# Test that reading less than 1 full character works when stdin
# contains surrogate pairs that cannot be decoded to UTF-8 without
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Skip tests on non-BMP characters of test_winconsoleio.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.