Skip to content

Commit 038770e

Browse files
authored
bpo-38325: Skip non-BMP tests of test_winconsoleio (GH-18448)
Skip tests on non-BMP characters of test_winconsoleio.
1 parent c4a65ed commit 038770e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Lib/test/test_winconsoleio.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ def test_input(self):
144144
self.assertStdinRoundTrip('ϼўТλФЙ')
145145
# Combining characters
146146
self.assertStdinRoundTrip('A͏B ﬖ̳AA̝')
147+
148+
# bpo-38325
149+
@unittest.skipIf(True, "Handling Non-BMP characters is broken")
150+
def test_input_nonbmp(self):
147151
# Non-BMP
148152
self.assertStdinRoundTrip('\U00100000\U0010ffff\U0010fffd')
149153

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

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

170+
# bpo-38325
171+
@unittest.skipIf(True, "Handling Non-BMP characters is broken")
166172
def test_partial_surrogate_reads(self):
167173
# Test that reading less than 1 full character works when stdin
168174
# contains surrogate pairs that cannot be decoded to UTF-8 without
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Skip tests on non-BMP characters of test_winconsoleio.

0 commit comments

Comments
 (0)